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 | |
parent | 9abde30678d51832edc1adfee64a33ab145a2cc5 (diff) | |
download | aur-b773b61aaea95e35c6381acd3e63c19f98088c74.tar.gz |
Fix pkgver() error
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Dec 23 14:48:54 UTC 2016 +# Fri Dec 23 14:49:30 UTC 2016 pkgbase = zsh-notify-git pkgdesc = Desktop notifications for long-running commands in zsh. - pkgver = 29.cf8c1b9 + pkgver = r46.1b0ba73 pkgrel = 1 url = https://github.com/marzocchi/zsh-notify arch = any @@ -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() { |