diff options
author | JoshH100 | 2020-03-20 11:34:08 -0600 |
---|---|---|
committer | JoshH100 | 2020-03-20 11:34:08 -0600 |
commit | 19b01b911c2dd266ff702113de8b6f85774b142b (patch) | |
tree | 7c59df2fddcf2d3a642388687b3b5f7dcf0ddb78 | |
parent | ebe5fe187d366017c186add33bec1974d9e3e0d6 (diff) | |
download | aur-19b01b911c2dd266ff702113de8b6f85774b142b.tar.gz |
updated pkgver format, incremented epoch
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,8 @@ # Maintainer: anon at sansorgan.es pkgname=madagascar -pkgver=3.0.1 -pkgrel=6 +pkgver=r14559.36030635e +pkgrel=1 +epoch=1 pkgdesc="Multidimensional data analysis and reproducible computational experiments." url=http://ahay.org/ license=('GPL2') @@ -14,6 +15,12 @@ options=('strip') source=($pkgname::git+https://github.com/ahay/src) noextract=("$pkgname.tar.gz") +pkgver(){ + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + prepare() { cd "$srcdir" #bsdtar -xf $pkgname.tar.gz --strip-components=1 |