summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-03-05 19:29:09 +0100
committerXZS2016-03-05 19:29:09 +0100
commit0380dcd507eac9b56d418c97b54e5306fcbe196a (patch)
treeb2d1478defd105e70bbcb38e7551e6999512c69c
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.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7488c0b9a3c..1b3d3230705 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Feb 7 15:31:04 UTC 2016
+# Sat Mar 5 18:29:05 UTC 2016
pkgbase = mozilla-extension-gnome-keyring-git
pkgdesc = Mozilla extension to store passwords and form logins in gnome-keyring.
pkgver = 0.11
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/swick/moz-gnome-keyring-integration
arch = any
license = GPLv3
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)"