summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-02-05 18:08:27 -0500
committerGaming4JC <g4jc@openmailbox.org>2017-02-05 18:08:27 -0500
commita222cfbc33207691284808dd9c55f54d0a3834e3 (patch)
treef46e6a6d3e9736e165d5e38f650dfa8110f3d30d
parent475ef830416cbf76ad02aea1c42529ea0fdede60 (diff)
downloadabslibre-a222cfbc33207691284808dd9c55f54d0a3834e3.tar.gz
abslibre-a222cfbc33207691284808dd9c55f54d0a3834e3.tar.bz2
abslibre-a222cfbc33207691284808dd9c55f54d0a3834e3.zip
add zeronet-git
-rw-r--r--pcr/zeronet-git/PKGBUILD5
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() {