summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-03-05 19:29:13 +0100
committerXZS2016-03-05 19:29:13 +0100
commit46d9ea8f2e6271a4ebffd753a6e4461edd6d5e08 (patch)
tree36d3b4f9da14741411a06023228035afc04a4606
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.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4475d00131d..615f80990dbb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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' '.'