summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris P2015-09-27 00:35:09 +0200
committerChris P2015-09-27 00:35:09 +0200
commit8f0b260438c78f681805e63a55c0b285321e5099 (patch)
tree2523ebe94590ee7998067a63f4ca6a91daf87cfc /PKGBUILD
parentd6f9a60655d14b2e721ee609f29733bb01c1db3d (diff)
downloadaur-8f0b260438c78f681805e63a55c0b285321e5099.tar.gz
Use this format for pkgver(): MAJOR.MINOR.PATCH.rNUMBER_OF_NEW_COMMITS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f14fdb286e9..43f3a1be0aa1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname=rmlint
pkgname=${_pkgname}-git
-pkgver=2.2.0.r509.gc0b8e23
-pkgrel=3
+pkgver=2.2.0.r33
+pkgrel=1
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/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --abbrev=6 | sed 's/^v//;s/-g[0-9a-z]\+$//g;s/-/.r/g'
}
build() {