summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-20 18:50:24 +0200
committerXZS2016-04-20 18:50:24 +0200
commit7046f383bd23981b3026205254dcdb1be85f828f (patch)
treede78020b849a5376018409faddc61f63ca1b70b7
parent127411f0dd7307f2466f3bea4fdab3114f42dcd3 (diff)
downloadaur-7046f383bd23981b3026205254dcdb1be85f828f.tar.gz
leave git directory be
The package version function for all templates including source-git-plain broke since pacman reversed the order in which pkgver and prepare are run. The commit "run pkgver() in srcdir" partially restored it to a working state in which the version number was found. However, since the prepare function still removed the git directory, no revision number and commit hash could be appended in the pkgver function running afterwards. Now that the git directory does not not end up in the package any more because of the recent exclusion of hidden files from installation, it can be left present for the pkgver function to use without containing any further process.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab28d1500648..95386fadb3db 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.6
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/mkiol/GNotifier
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 561dd71923b9..334246abc17a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mozilla-extension-gnotifier-git
pkgver=1.9.6
-pkgrel=2
+pkgrel=3
pkgdesc='Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system.'
url='https://github.com/mkiol/GNotifier'
arch=('any')
@@ -23,7 +23,6 @@ conflicts+=("$_gitname")
prepare() {
cp -rf --reflink=auto "$_gitname"/* .
rm -rf "$_gitname"
- find -name '.git*' -exec rm -rf '{}' +
}
makedepends+=(rasqal)