summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-03-05 19:29:09 +0100
committerXZS2016-03-05 19:29:09 +0100
commit0380dcd507eac9b56d418c97b54e5306fcbe196a (patch)
treeb2d1478defd105e70bbcb38e7551e6999512c69c /PKGBUILD
parenta0f0b956a7a1f1536794ab889cb062d0a49bd8df (diff)
downloadaur-0380dcd507eac9b56d418c97b54e5306fcbe196a.tar.gz
run pkgver() in srcdir
Since pacman version 5.0.1, prepare() runs before pkgver(). Restoring the function to a working state actually saves a directory change as they now find the sources already moved down.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81b25e59b0c..fc2de840ad6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=mozilla-extension-gnome-keyring-git
pkgver=0.11
-pkgrel=1
+pkgrel=2
pkgdesc="Mozilla extension to store passwords and form logins in gnome-keyring."
arch=(any)
url='https://github.com/swick/moz-gnome-keyring-integration'
@@ -44,7 +44,6 @@ query-version() {
pkgver() {
- cd $_gitname
sparql '<urn:mozilla:install-manifest> em:version ?x' | tr - .
echo -n .
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"