diff options
author | Pablo Arias | 2018-04-16 22:33:58 -0500 |
---|---|---|
committer | Pablo Arias | 2018-04-16 22:33:58 -0500 |
commit | ece6d11d2b612211574aa2ba3d2fa146995eebf5 (patch) | |
tree | 9289ce30c7557c9ac2e99d590ed39ca691796a00 /PKGBUILD | |
parent | 3e8b8dad7348300426ffba90632f9b1706ab2e2b (diff) | |
download | aur-ece6d11d2b612211574aa2ba3d2fa146995eebf5.tar.gz |
Reworked PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,21 +1,22 @@ -# Maintainer: John Jenkins <twodopeshaggy@gmail.com> +# Maintainer: Pablo Arias <pabloariasal@gmail.com> +# Contributor: John Jenkins <twodopeshaggy@gmail.com> pkgname=bcal-git _pkgname=bcal -pkgver=35.68f5bba +pkgver=1.8.r5.g0fde1c6 pkgrel=1 -pkgdesc="Byte CALculator. The engineer's utility for storage conversions and calculations." +pkgdesc="Storage conversion and expression calculator" arch=("i686" "x86_64") url="https://github.com/jarun/bcal" license=('GPL3') -source=(${_pkgname}::"git+https://github.com/jarun/${_pkgname}.git") +source=("git+https://github.com/jarun/${_pkgname}.git") sha256sums=('SKIP') conflicts=('bcal') provides=('bcal') pkgver() { cd "${srcdir}/${_pkgname}" - echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + git describe --long | sed 's/v\([^-]*-\)/\1r/;s/-/./g' } package() { |