diff options
author | James Harvey | 2015-12-13 02:18:51 +0000 |
---|---|---|
committer | James Harvey | 2015-12-13 02:18:51 +0000 |
commit | 9000a1b20c07af20e04a2e2c8c610d0f21ba2520 (patch) | |
tree | 77e1e37c2f4f93345ca30e7e588f3c831b79f6e7 | |
parent | 66a0ecbe5b208ae6d47fe0ec7b1fb6cb599b9bb1 (diff) | |
download | aur-9000a1b20c07af20e04a2e2c8c610d0f21ba2520.tar.gz |
Fixed typo of pkgver function being misnamed as pkgrel
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,8 +4,8 @@ pkgname=bash-git-prompt-git _pkgname=bash-git-prompt -pkgver=2.3.5.r249.2a6b20c -pkgrel=2 +pkgver=2.3.5.r406.2d9ec22 +pkgrel=1 pkgdesc="Informative git prompt for bash and fish (git version)" arch=('any') url="https://github.com/magicmonty/bash-git-prompt" @@ -23,7 +23,8 @@ md5sums=('SKIP' '879555792d1b4c0ddef7cd81b0a3e35c') install='bash-git-prompt.install' -pkgrel() { +pkgver() { + cd ${srcdir}/${_pkgname} echo $(cat bash-git-prompt.rb | grep url | sed 's|.*archive/||' | sed 's|.tar.gz"$||').r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } |