summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Taylor2020-05-04 15:33:06 -0500
committerDerek Taylor2020-05-04 15:33:06 -0500
commit6b88d68c8d29922b8557655336b100f3602ab05c (patch)
treefe953194bddc5a828c33ff7b6698e2ea7039c8bf
parentd4564e8f29af57d50d7106cfc7056f48c313c52c (diff)
downloadaur-6b88d68c8d29922b8557655336b100f3602ab05c.tar.gz
Editing PKGBUILD
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3b54760e43f..96ce18e9474 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,8 +23,7 @@ validpgpkeys=()
pkgver() {
cd "${_pkgname}"
- _pkgver=$(awk '/VERSION/ {print $3}' config.mk|head -1)
- echo "${_pkgver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {