diff options
author | orestisf | 2016-12-23 16:45:16 +0200 |
---|---|---|
committer | orestisf | 2016-12-23 16:49:50 +0200 |
commit | b773b61aaea95e35c6381acd3e63c19f98088c74 (patch) | |
tree | c441c69d44f89227a2ef84e9b5b7824582085e60 /PKGBUILD | |
parent | 9abde30678d51832edc1adfee64a33ab145a2cc5 (diff) | |
download | aur-b773b61aaea95e35c6381acd3e63c19f98088c74.tar.gz |
Fix pkgver() error
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ _name='zsh-notify' pkgname="${_name}-git" -pkgver=29.cf8c1b9 +pkgver=r46.1b0ba73 pkgrel=1 pkgdesc="Desktop notifications for long-running commands in zsh." url="https://github.com/marzocchi/zsh-notify" @@ -13,8 +13,8 @@ source=("${_name}::${url//https/git}") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_name}" - echo "$(git rev-list --count HEAD).$(git describe --always )" + cd "${srcdir}/${_name}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |