summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c849983f26..a6bde256c98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = arqiver-git
pkgdesc = Simple Qt archive manager based on libarchive…
- pkgver = r38.9a4702c
+ pkgver = 0.7.0.r0.g7beb131
pkgrel = 1
url = https://github.com/tsujan/Arqiver
arch = i686
@@ -13,7 +13,7 @@ pkgbase = arqiver-git
depends = qt5-base
depends = qt5-x11extras
depends = qt5-svg
- provides = arqiver=r38.9a4702c
+ provides = arqiver=0.7.0.r0.g7beb131
conflicts = arqiver
source = git+https://github.com/tsujan/arqiver.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index dfaf5effe34..de4bb92dd89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=arqiver
pkgname=$_pkgname-git
-pkgver=r38.9a4702c
+pkgver=0.7.0.r0.g7beb131
pkgrel=1
pkgdesc="Simple Qt archive manager based on libarchive…"
arch=("i686" "x86_64")
@@ -17,7 +17,9 @@ sha256sums=('SKIP')
pkgver() {
cd $_pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ #printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ #git describe --long --tags | sed 's/^V-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
prepare() {