diff options
author | Jakub Sztandera | 2016-03-01 00:06:12 +0100 |
---|---|---|
committer | Jakub Sztandera | 2016-03-01 00:06:12 +0100 |
commit | bc8b6b8a7238c8801625fc214e1fa73d6b4a4b62 (patch) | |
tree | fe99791df9b3e624f9523721b05a9925f44cf5dc /PKGBUILD | |
parent | 6fd2c03bd565b7c8f4e47e17efc475ada6598ba7 (diff) | |
download | aur-bc8b6b8a7238c8801625fc214e1fa73d6b4a4b62.tar.gz |
Use tags for versions, depend on gx, update version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,18 +2,19 @@ # vim: set expandtab ts=2 sw=2: pkgname=gx-go -pkgver=0.2.0 +pkgver=0.3.0.r0.g68d91f3 pkgrel=1 epoch= pkgdesc="A tool to use with the gx package manager for packages written in go." arch=('i686' 'x86_64' 'armv7h') url="https://github.com/whyrusleeping/$pkgname" license=('MIT') +depends=('gx') makedepends=('git' 'go') source=("git+${url}.git") md5sums=('SKIP') -pkgver_DISABLED() { +pkgver() { # Renable after tags are placed in the repo. cd "$srcdir/$pkgname" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' |