summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d2c2f808014..d3ccbca2a5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = p7zip-jinfeihan57-git
pkgdesc = Command-line file archiver with high compression ratio - jinfeihan57 fork
- pkgver = v17.04.r6.geb1bbb0
- pkgrel = 1
+ pkgver = 17.04.r6.geb1bbb0
+ pkgrel = 2
url = https://github.com/jinfeihan57/p7zip
arch = x86_64
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 18ea3a4dbf8..1dfb802b11a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: bgkillas <bgkillas@gmail.com>
pkgname=p7zip-jinfeihan57-git
pkgdesc="Command-line file archiver with high compression ratio - jinfeihan57 fork"
-pkgver=v17.04.r6.geb1bbb0
-pkgrel=1
+pkgver=17.04.r6.geb1bbb0
+pkgrel=2
arch=('x86_64')
makedepends=('git')
depends=(gcc-libs)
@@ -18,7 +18,7 @@ sha512sums=('SKIP'
'SKIP')
pkgver() {
cd p7zip
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
build () {