summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-03-05 19:29:02 +0100
committerXZS2016-03-05 19:29:02 +0100
commit5f7d081255c6dcdbb4df948a9b85c5454a520e38 (patch)
tree0f97aca48c16efb8228b4ac618782ba81e4e890e /PKGBUILD
parent82dc00290a6df5e79861a0f386fc1c2124d11da6 (diff)
downloadaur-5f7d081255c6dcdbb4df948a9b85c5454a520e38.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 cc3d250ca6c5..d91258ddeb66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=firefox-extension-omnisidebar-git
pkgver=1.6.11
-pkgrel=1
+pkgrel=2
pkgdesc='A firefox add-on designed to provide more control over the behavior of the sidebar.'
url='https://github.com/Quicksaver/OmniSidebar'
arch=('any')
@@ -38,7 +38,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)"