summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris P2015-09-22 18:18:44 +0200
committerChris P2015-09-22 18:18:44 +0200
commitd6f9a60655d14b2e721ee609f29733bb01c1db3d (patch)
tree390fcdf1bc3ad2e3da1a56a10ab3d904ddc8d526
parent285b8cd9dd9aa372f19be8eb48d97d77963bec31 (diff)
downloadaur-d6f9a60655d14b2e721ee609f29733bb01c1db3d.tar.gz
Trim off v prefix from pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6326004b7b76..d128db4a74c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rmlint-git
pkgdesc = Tool to remove duplicates and other lint, being much faster than fdupes
- pkgver = v2.2.0.r33.g08a75ed
- pkgrel = 1
+ pkgver = 2.2.0.r509.gc0b8e23
+ pkgrel = 3
url = https://github.com/sahib/rmlint
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e3c3fd3b88a9..1f14fdb286e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname=rmlint
pkgname=${_pkgname}-git
-pkgver=v2.2.0.r33.g08a75ed
-pkgrel=1
+pkgver=2.2.0.r509.gc0b8e23
+pkgrel=3
pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
arch=('i686' 'x86_64')
url="https://github.com/sahib/rmlint"
@@ -18,7 +18,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
- git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {