diff options
author | actionless | 2015-12-29 01:43:01 +0100 |
---|---|---|
committer | actionless | 2015-12-29 01:43:01 +0100 |
commit | f9c9cab92355123f6781fbdea5541114725c39b3 (patch) | |
tree | 1bfd07f382ff45b15c859a3e5309797a838dab7e | |
parent | b3fabde5e5511fe958ccd983f47daa0d94c3b84e (diff) | |
download | aur-f9c9cab92355123f6781fbdea5541114725c39b3.tar.gz |
fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = libui-git pkgdesc = A portable GUI library for C - pkgver = 999 + pkgver = r1878.6a5997c pkgrel = 1 url = https://github.com/andlabs/libui arch = i686 @@ -6,7 +6,7 @@ _pkgname=libui pkgname=${_pkgname}-git -pkgver=999 +pkgver=r1878.6a5997c pkgrel=1 pkgdesc='A portable GUI library for C' arch=('i686' 'x86_64') @@ -21,7 +21,7 @@ md5sums=('SKIP') pkgver() { cd $pkgname - git rev-parse HEAD | head -c 6 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |