From a222cfbc33207691284808dd9c55f54d0a3834e3 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sun, 5 Feb 2017 18:08:27 -0500 Subject: add zeronet-git --- pcr/zeronet-git/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pcr/zeronet-git') 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() { -- cgit v1.2.3