summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Preuster2016-05-18 14:09:07 +0200
committerPatrick Preuster2016-05-18 14:09:07 +0200
commitc94f26e4bb40911d62cef3df3b89a1469ee60c28 (patch)
treec10653425c1aa06a0bb04f514e13a14fbb106b74
parent391eb3b2ddd84a98bbbe4da1756c040bc5c6b275 (diff)
downloadaur-c94f26e4bb40911d62cef3df3b89a1469ee60c28.tar.gz
changed the pkgver to match the git version and adjusted the pkgver() function as well
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 09bb7f8806a1..e4f6236730f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
pkgname=unrarall-git
-pkgver=0.0.0
-pkgrel=2
+pkgver=0.2.r98.g1bcf008
+pkgrel=1
pkgdesc="unrarall is a utility to unrar and clean up various files (.e.g. rar files)."
arch=('any')
url="https://github.com/arfoll/unrarall"
@@ -21,7 +21,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/unrarall"
# Use the tag of the last commit
- git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --long | sed -e 's/\([^-]*-\)g/r\1/;s/-/./g' -e 's/^v//'
}
package() {