summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ad5fc1bacf..9e3989cf02d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
# Generated by mksrcinfo v8
-# Tue Oct 4 20:46:38 UTC 2016
-pkgbase = bcal
+# Tue Oct 4 20:48:25 UTC 2016
+pkgbase = bcal-git
pkgdesc = Byte CALculator. The engineer's utility for storage conversions and calculations.
pkgver = 35.68f5bba
pkgrel = 1
@@ -13,5 +13,5 @@ pkgbase = bcal
source = bcal::git+https://github.com/jarun/bcal.git
sha256sums = SKIP
-pkgname = bcal
+pkgname = bcal-git
diff --git a/PKGBUILD b/PKGBUILD
index 9603e7cb6cb..4ff6577c321 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,23 @@
# Maintainer: John Jenkins <twodopeshaggy@gmail.com>
-pkgname=bcal
+pkgname=bcal-git
+_pkgname=bcal
pkgver=35.68f5bba
pkgrel=1
pkgdesc="Byte CALculator. The engineer's utility for storage conversions and calculations."
arch=("i686" "x86_64")
url="https://github.com/jarun/bcal"
license=('GPL3')
-source=(${pkgname}::"git+https://github.com/jarun/${pkgname}.git")
+source=(${_pkgname}::"git+https://github.com/jarun/${_pkgname}.git")
sha256sums=('SKIP')
conflicts=('bcal')
provides=('bcal')
pkgver() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
- make -C "${srcdir}/${pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install
+ make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install
}