Package Details: bcal 2.4-1

Git Clone URL: https://aur.archlinux.org/bcal.git (read-only, click to copy)
Package Base: bcal
Description: Storage conversion and expression calculator
Upstream URL: https://github.com/jarun/bcal
Licenses: GPL3
Submitter: None
Maintainer: kleintux
Last Packager: kleintux
Votes: 0
Popularity: 0.000000
First Submitted: 2016-10-04 20:38 (UTC)
Last Updated: 2022-07-31 08:04 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

lmartinez-mirror commented on 2021-08-22 02:26 (UTC) (edited on 2021-08-22 02:27 (UTC) by lmartinez-mirror)

Couple of things with this PKGBUILD:

  • Since this is a standard, non-VCS package, it should not provide itself nor conflict with the VCS package.
  • The source name should be unique, something like $pkgname-$pkgver.tar.gz.
  • This package is missing readline and bc as dependencies.

I'll post a patch you can use soon, thanks for your time!

EDIT: Here it is:

diff --git a/PKGBUILD b/PKGBUILD
index 8269721..bc28eb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,22 @@
 # Maintainer: Pablo Arias <pabloariasal@gmail.com>
 # Contributor: John Jenkins <twodopeshaggy@gmail.com>
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>

 pkgname=bcal
 pkgver=2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Storage conversion and expression calculator"
 arch=("i686" "x86_64")
 url="https://github.com/jarun/bcal"
 license=('GPL3')
-source=("https://github.com/jarun/bcal/archive/v${pkgver//_/-}.tar.gz")
+depends=('readline' 'bc')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 sha256sums=('506d17d6df35fad636d3ced425afee5921cd2b21242099b78b369cfcb5716e23')
-conflicts=('bcal-git')
-provides=('bcal')
+
+build() {
+   make -C "$pkgname-$pkgver"
+}

 package() {
-  make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" PREFIX="/usr" install > /dev/null
+   make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" PREFIX="/usr" install
 }

pabloariasal commented on 2020-06-15 21:38 (UTC) (edited on 2020-06-15 21:40 (UTC) by pabloariasal)

Thank you for the offer but we all put a lot a lot of effort writing and updating these PKGBUILDs to just give up ownership to the first person that has a problem with the package. What is the nature of your problem? I always build and test all my packages, in fact I just upgraded and built this one. No problem at all. Next time, instead of asking for ownership, an actual description of the problem may be helpful.