From 312c1ff6e88b224a7f982477e33ecef849f5f6d4 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 20 Oct 2013 18:54:36 +0200 Subject: pcmanfm-git: Replaced pkgver() function with cleaner version --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 48cbf65..a1daaee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -21,7 +21,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir"/pcmanfm - git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' + printf "%s" "$(git describe --always --long | sed 's/-/-r/' | tr - .)" } build() { -- cgit v1.2.3-70-g09d2