summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-03-05 19:29:13 +0100
committerXZS2016-03-05 19:29:13 +0100
commit46d9ea8f2e6271a4ebffd753a6e4461edd6d5e08 (patch)
tree36d3b4f9da14741411a06023228035afc04a4606 /PKGBUILD
parentcd6a2a33eebd2a7665e6a8a7ce59945b8b805f07 (diff)
downloadaur-46d9ea8f2e6271a4ebffd753a6e4461edd6d5e08.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 dbfd574b44c6..037de0c8a025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mozilla-extension-gnotifier-git
pkgver=1.9.3
-pkgrel=1
+pkgrel=2
pkgdesc='Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system.'
url='https://github.com/mkiol/GNotifier'
arch=('any')
@@ -38,7 +38,6 @@ query-version() {
}
pkgver() {
- cd "$_gitname"
find -iname '*.json' -exec sed -n \
's/.*"version"\s*:\s*"\([[:digit:].]*\)"\s*,.*/\1/p' \
'{}' \; -quit 2>/dev/null | tr '\n' '.'