summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Sztandera2016-03-01 00:00:39 +0100
committerJakub Sztandera2016-03-01 00:00:39 +0100
commitd71a73b692380e019aa4c056b426880b0c6525be (patch)
tree030ed6573addde0fa8f417d72ee988ef80972f09
parent003a2149b3d9d079167004c1902fcfdd6c03d37c (diff)
downloadaur-d71a73b692380e019aa4c056b426880b0c6525be.tar.gz
Enable tag based versions. Version now is 0.4.0
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a8021bbbe7e0..b3cabf4a6d8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# vim: set expandtab ts=2 sw=2:
pkgname=gx
-pkgver=0.3.0
+pkgver=0.4.0.r0.gb82b91b
pkgrel=1
epoch=
pkgdesc="Packaging tool built around the distributed, content addressed filesystem IPFS. It aims to be flexible, powerful and simple."
@@ -14,8 +14,7 @@ optdepends=('gx-go: gx packaing module for go')
source=("git+${url}.git")
md5sums=('SKIP')
-pkgver_DISABLED() {
- # Renable after tags are placed in the repo.
+pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}