diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2017-02-05 18:03:00 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2017-02-05 18:03:00 -0500 |
commit | 475ef830416cbf76ad02aea1c42529ea0fdede60 (patch) | |
tree | 16a9d834dfdf32b897a2f22f78d9a8a7b2eae441 | |
parent | 1b28124676b8748519f03d8c441e95f84535f7ec (diff) | |
download | abslibre-475ef830416cbf76ad02aea1c42529ea0fdede60.tar.gz abslibre-475ef830416cbf76ad02aea1c42529ea0fdede60.tar.bz2 abslibre-475ef830416cbf76ad02aea1c42529ea0fdede60.zip |
add zeronet-git
-rw-r--r-- | pcr/zeronet-git/PKGBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pcr/zeronet-git/PKGBUILD b/pcr/zeronet-git/PKGBUILD index 1d3481821..8aa5ebe08 100644 --- a/pcr/zeronet-git/PKGBUILD +++ b/pcr/zeronet-git/PKGBUILD @@ -31,9 +31,7 @@ options=(!strip) pkgver() { cd "$srcdir/$_gitname" - - # Extract version and revision from src/Config.py and append commit - echo -n $(grep -oP '(?<=self.version = ").+(?=")' src/Config.py).r$(grep -oP '(?<=self.rev = )\w+$' src/Config.py).g$(git rev-parse --short HEAD) + git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } package() { |