diff options
-rw-r--r-- | pcr/zeronet-git/PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pcr/zeronet-git/PKGBUILD b/pcr/zeronet-git/PKGBUILD index da7b8a97e..e96bc50cd 100644 --- a/pcr/zeronet-git/PKGBUILD +++ b/pcr/zeronet-git/PKGBUILD @@ -4,9 +4,8 @@ pkgname='zeronet-git' _gitname='ZeroNet' -_gitver=c9fa29c562d9675c533d9a282b16bf581e65d27b _gitroot='https://github.com/HelloZeroNet/ZeroNet.git' -pkgver=r225.gc9fa29c +pkgver=r1080 pkgrel=1 arch=('any') url="https://zeronet.io/" @@ -31,8 +30,8 @@ backup=("etc/zeronet.conf") options=(!strip) pkgver() { - cd "$srcdir/$_gitname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$_gitname" + printf "r%s" $(git rev-list --count HEAD) } package() { |