summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-20 18:50:37 +0200
committerXZS2016-04-20 18:50:37 +0200
commitc9d6cf46564abb91c17f3ef09ed2d17692804a04 (patch)
tree4bfc53e380d61c8e100ca24defa04fa512acad74
parentfd363af8ded7918ad7cb2d62e6dc5ee1cf0e9347 (diff)
downloadaur-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.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4860acee8981..105aed546d45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-theme-adwaita-git
pkgdesc = Adwaita theme for Firefox (Matches the default Gnome Shell theme)
pkgver = 45.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/gnome-integration-team/firefox-gnome
arch = any
license = MPL
diff --git a/PKGBUILD b/PKGBUILD
index f14a0c68a154..ce84a7448686 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)