diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 6 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Thu Sep 21 22:54:10 UTC 2017 pkgbase = pacman-offline-git pkgdesc = offline system update with pacman - git checkout - pkgver = 0.r1.gf212c9e + pkgver = 0.0.5.r4.g4ca1bc5 pkgrel = 1 url = https://github.com/eworm-de/pacman-offline arch = any @@ -1,7 +1,7 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=pacman-offline-git -pkgver=0.r1.gf212c9e +pkgver=0.0.5.r4.g4ca1bc5 pkgrel=1 pkgdesc='offline system update with pacman - git checkout' arch=('any') @@ -21,11 +21,11 @@ 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 } |