diff options
author | Patrick Preuster | 2016-05-18 14:09:07 +0200 |
---|---|---|
committer | Patrick Preuster | 2016-05-18 14:09:07 +0200 |
commit | c94f26e4bb40911d62cef3df3b89a1469ee60c28 (patch) | |
tree | c10653425c1aa06a0bb04f514e13a14fbb106b74 | |
parent | 391eb3b2ddd84a98bbbe4da1756c040bc5c6b275 (diff) | |
download | aur-c94f26e4bb40911d62cef3df3b89a1469ee60c28.tar.gz |
changed the pkgver to match the git version and adjusted the pkgver() function as well
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() { |