diff options
author | Llewelyn Trahaearn | 2015-07-17 11:58:16 -0700 |
---|---|---|
committer | Llewelyn Trahaearn | 2015-07-17 11:58:16 -0700 |
commit | 126b94d97a706afde82a6fd1339687b121a3f23a (patch) | |
tree | 021e41e7e0aab2b7785980b429e3deca8d52a67e | |
parent | 626f6457d87a61f8c6763f8d7feaec3506588c9b (diff) | |
download | aur-126b94d97a706afde82a6fd1339687b121a3f23a.tar.gz |
Minor fix, line 21.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = gnome-shell-extension-lockkeys-git pkgdesc = Lock key state indicator for GNOME Shell. pkgver = r77.76ac557 - pkgrel = 1 + pkgrel = 2 url = https://github.com/kazysmaster/gnome-shell-extension-lockkeys install = gschemas.install arch = any @@ -4,7 +4,7 @@ pkgname=gnome-shell-extension-lockkeys-git pkgver=r77.76ac557 -pkgrel=1 +pkgrel=2 pkgdesc="Lock key state indicator for GNOME Shell." arch=('any') url="https://github.com/kazysmaster/gnome-shell-extension-lockkeys" @@ -18,7 +18,7 @@ source=("${pkgname%-*}::git+https://github.com/kazysmaster/gnome-shell-extension sha512sums=('SKIP') pkgver() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname%-*}" ( set -o pipefail git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" |