summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b0c5a472e69..7ef42da84f94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mozilla-extension-gnotifier-git
pkgdesc = Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system.
pkgver = 1.9.9pre1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mkiol/GNotifier
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index b59a67a03b3b..6f9dbeecca17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mozilla-extension-gnotifier-git
pkgver=1.9.9pre1
-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')
@@ -47,7 +47,7 @@ pkgver() {
's/.*"version"\s*:\s*"\([[:digit:].]*\)"\s*,.*/\1/p' \
'{}' \; -quit 2>/dev/null
)*" -printf '%f\n' | sed 's/^gnotifier[-_]\(.*\).xpi$/\1/;
- s/-final$//;s/-//' | sort -n | head -n1 | tr '\n' '.'
+ s/-final$//;s/-//' | sort -nr | head -n1 | tr '\n' '.'
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}