summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackEagle2013-11-25 20:31:52 +0100
committerBlackEagle2015-07-05 22:33:34 +0200
commited8d8024744bd93a7e8091ea5fb824d216ed532d (patch)
tree6c10cce9599c898e4d6253d42bffe82b387e0e96
parentd831b2cad0b2745161f0fa3ba97eb20dc5edbc0d (diff)
downloadaur-ed8d8024744bd93a7e8091ea5fb824d216ed532d.tar.gz
kvirtual-git :: cleaner pkgver
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a042adca918..2609463d4e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
- echo $(git log -1 --format="%ci" | sed 's/.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*/\1\2\3/').$(git rev-parse --short HEAD)
+ git log -1 --date=short --format="%cd.%h" | tr -d '-'
}
build() {