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 | |
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.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Feb 7 20:10:10 UTC 2016 +# Sat Mar 5 18:28:57 UTC 2016 pkgbase = firefox-extension-omnisidebar-git pkgdesc = A firefox add-on designed to provide more control over the behavior of the sidebar. pkgver = 1.6.11 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Quicksaver/OmniSidebar arch = any license = MPLv2 @@ -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)" |