diff options
author | XZS | 2016-03-05 19:29:13 +0100 |
---|---|---|
committer | XZS | 2016-03-05 19:29:13 +0100 |
commit | 46d9ea8f2e6271a4ebffd753a6e4461edd6d5e08 (patch) | |
tree | 36d3b4f9da14741411a06023228035afc04a4606 | |
parent | cd6a2a33eebd2a7665e6a8a7ce59945b8b805f07 (diff) | |
download | aur-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.
-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 -# Tue Feb 16 10:49:19 UTC 2016 +# Sat Mar 5 18:29:09 UTC 2016 pkgbase = mozilla-extension-gnotifier-git pkgdesc = Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system. pkgver = 1.9.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mkiol/GNotifier arch = any license = GPL3 @@ -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' '.' |