diff options
author | Stephen Brandt | 2018-04-02 21:46:46 +0200 |
---|---|---|
committer | Stephen Brandt | 2018-04-02 21:46:46 +0200 |
commit | ec25d5a34a6cfcd39e77855b97a05ec56262b9ed (patch) | |
tree | 108fa445ff196ada56c54146c40d1095b17a526a | |
parent | 38d50b103a8582278205c0220f693106c812fceb (diff) | |
download | aur-ec25d5a34a6cfcd39e77855b97a05ec56262b9ed.tar.gz |
Prepend RELEASE to package version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = haguichi-git pkgdesc = Provides a user friendly GUI to control the Hamachi client on Linux (development version) - pkgver = r320.0a59e37 + pkgver = 1.3.8.r83.g0a59e37 pkgrel = 1 url = https://github.com/ztefn/haguichi arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Stephen Brandt <stephen@stephenbrandt.com> pkgname=haguichi-git -pkgver=r320.0a59e37 +pkgver=1.3.8.r83.g0a59e37 pkgrel=1 pkgdesc="Provides a user friendly GUI to control the Hamachi client on Linux (development version)" arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') @@ -18,7 +18,7 @@ _pkg=haguichi pkgver() { cd $_pkg - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |