diff options
author | XZS | 2016-03-05 19:29:02 +0100 |
---|---|---|
committer | XZS | 2016-03-05 19:29:02 +0100 |
commit | 5f7d081255c6dcdbb4df948a9b85c5454a520e38 (patch) | |
tree | 0f97aca48c16efb8228b4ac618782ba81e4e890e /PKGBUILD | |
parent | 82dc00290a6df5e79861a0f386fc1c2124d11da6 (diff) | |
download | aur-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-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)" |