summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2015-07-17 11:58:16 -0700
committerLlewelyn Trahaearn2015-07-17 11:58:16 -0700
commit126b94d97a706afde82a6fd1339687b121a3f23a (patch)
tree021e41e7e0aab2b7785980b429e3deca8d52a67e
parent626f6457d87a61f8c6763f8d7feaec3506588c9b (diff)
downloadaur-126b94d97a706afde82a6fd1339687b121a3f23a.tar.gz
Minor fix, line 21.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2adb85a8a66a..e57927cda7bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 66259814af21..6105b8d75658 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)"