diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/zeronet-git/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pcr/zeronet-git/PKGBUILD b/pcr/zeronet-git/PKGBUILD index 8aa5ebe08..da7b8a97e 100644 --- a/pcr/zeronet-git/PKGBUILD +++ b/pcr/zeronet-git/PKGBUILD @@ -4,8 +4,9 @@ pkgname='zeronet-git' _gitname='ZeroNet' +_gitver=c9fa29c562d9675c533d9a282b16bf581e65d27b _gitroot='https://github.com/HelloZeroNet/ZeroNet.git' -pkgver=0.5.0 +pkgver=r225.gc9fa29c pkgrel=1 arch=('any') url="https://zeronet.io/" @@ -31,7 +32,7 @@ options=(!strip) pkgver() { cd "$srcdir/$_gitname" - git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |