diff options
author | XZS | 2016-04-20 18:50:37 +0200 |
---|---|---|
committer | XZS | 2016-04-20 18:50:37 +0200 |
commit | c9d6cf46564abb91c17f3ef09ed2d17692804a04 (patch) | |
tree | 4bfc53e380d61c8e100ca24defa04fa512acad74 /PKGBUILD | |
parent | fd363af8ded7918ad7cb2d62e6dc5ee1cf0e9347 (diff) | |
download | aur-c9d6cf46564abb91c17f3ef09ed2d17692804a04.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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6,7 +6,7 @@ pkgbase='firefox-theme-adwaita-git' pkgname=('firefox-theme-gnome-git' 'firefox-extension-gnome-theme-tweak-git') pkgver=45.1 -pkgrel=1 +pkgrel=2 pkgdesc="Adwaita theme for Firefox (Matches the default Gnome Shell theme)" url="https://github.com/gnome-integration-team/firefox-gnome" arch=('any') @@ -26,7 +26,6 @@ conflicts+=("$_gitname") prepare() { cp -rf --reflink=auto "$_gitname"/* . rm -rf "$_gitname" - find -name '.git*' -exec rm -rf '{}' + } makedepends+=(rasqal) |