diff options
author | XZS | 2016-04-20 18:50:24 +0200 |
---|---|---|
committer | XZS | 2016-04-20 18:50:24 +0200 |
commit | 7046f383bd23981b3026205254dcdb1be85f828f (patch) | |
tree | de78020b849a5376018409faddc61f63ca1b70b7 | |
parent | 127411f0dd7307f2466f3bea4fdab3114f42dcd3 (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -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 @@ -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) |