diff options
author | Christian Hesse | 2022-05-17 21:04:20 +0200 |
---|---|---|
committer | Christian Hesse | 2022-05-17 21:04:20 +0200 |
commit | 2607de5833e2d0ea3aac618d0aa3bcf483fe3a36 (patch) | |
tree | 0291006fd61ffe57d24d772704d02376d4b4df71 /PKGBUILD | |
parent | 2a1474a688596f7d1034fc2d5100023380d44a3c (diff) | |
download | aur-tig-git.tar.gz |
commit tig-git 2.5.5.r12.g06dd7a8b-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,7 @@ # Contributor: Nathan Jones <nathanj@insightbb.com> pkgname=tig-git -pkgver=2.1.1.r48.geecfbda +pkgver=2.5.5.r12.g06dd7a8b pkgrel=1 pkgdesc='Text-mode interface for Git - git checkout' depends=('git' 'ncurses') @@ -16,7 +16,7 @@ arch=('i686' 'x86_64') conflicts=('tig') provides=('tig') backup=('etc/tigrc') -source=('git://github.com/jonas/tig.git') +source=('git+https://github.com/jonas/tig.git') sha256sums=('SKIP') pkgver() { @@ -26,11 +26,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 } |