summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2018-05-30 13:26:24 +0200
committerChristian Hesse2018-05-30 13:26:24 +0200
commitb21c90d95b77343e821daf7b1e1d0e06e08247bc (patch)
tree9f40bc6bce0570ec0535f204aeabfaa443a8d19a /PKGBUILD
parent3841e8dc347dc65cf224deddaecc473b2fe1186a (diff)
downloadaur-ubase-git.tar.gz
commit ubase-git 0.r602.g5579553-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9ba5da2efaa..e48a7ec922f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Jens Staal <staal1978@gmail.com>
pkgname=ubase-git
-pkgver=0.r565.g71da562
+pkgver=0.r602.g5579553
pkgrel=1
pkgdesc='An extension of the sbase *nix core utilities - git checkout'
arch=('i686' 'x86_64')
@@ -20,20 +20,14 @@ pkgver() {
printf '%s.r%s.g%s' \
"$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
"$(git rev-list --count ${GITTAG}..)" \
- "$(git log -1 --format='%h')"
+ "$(git rev-parse --short HEAD)"
else
printf '0.r%s.g%s' \
"$(git rev-list --count master)" \
- "$(git log -1 --format='%h')"
+ "$(git rev-parse --short HEAD)"
fi
}
-#prepare() {
-# cd $srcdir/ubase/
-# #temporary hacks
-# sed -i 's|MAN = $(SRC:.c=.1)|MAN = chvt.1 |g' Makefile
-#}
-
build() {
cd ${srcdir}/ubase/