summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-20 18:50:41 +0200
committerXZS2016-04-20 18:50:41 +0200
commit4dff45f03a8579f5654a812b3521ff1822f6c63b (patch)
tree1960c56db4b9c01f04169683d0fc26010340a6d3
parenta37bb6d1132594448145c9881f2491e9f3759558 (diff)
downloadaur-4dff45f03a8579f5654a812b3521ff1822f6c63b.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 5344f7f2000e..990b0554dee9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-extension-beyond-australis-git
pkgdesc = A Firefox add-on to improve the feeling of using the new Australis theme.
pkgver = 1.4.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Quicksaver/The-Fox--Only-Better
arch = any
license = MPLv2
diff --git a/PKGBUILD b/PKGBUILD
index 8feb4e31bcbd..1fc3cd236517 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=firefox-extension-beyond-australis-git
pkgver=1.4.4
-pkgrel=1
+pkgrel=2
pkgdesc='A Firefox add-on to improve the feeling of using the new Australis theme.'
url='https://github.com/Quicksaver/The-Fox--Only-Better'
arch=('any')
@@ -22,7 +22,6 @@ conflicts+=("$_gitname")
prepare() {
cp -rf --reflink=auto "$_gitname"/* .
rm -rf "$_gitname"
- find -name '.git*' -exec rm -rf '{}' +
}
makedepends+=(rasqal)