summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-20 18:50:39 +0200
committerXZS2016-04-20 18:50:39 +0200
commitb82aee2ea12f41afdb07c4393942eded5d8c8c95 (patch)
treeb6824c35fa560f4d6a93ce4e2a11001f72e766e8
parent33422a4e52ff2624a10a8699b6f5495d8b95e9d5 (diff)
downloadaur-b82aee2ea12f41afdb07c4393942eded5d8c8c95.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 0e02cbf9db01..4eb062c4d44b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-extension-omnisidebar-git
pkgdesc = A firefox add-on designed to provide more control over the behavior of the sidebar.
pkgver = 1.6.12
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Quicksaver/OmniSidebar
arch = any
license = MPLv2
diff --git a/PKGBUILD b/PKGBUILD
index 637db6e5c09d..a3915b7327fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=firefox-extension-omnisidebar-git
pkgver=1.6.12
-pkgrel=1
+pkgrel=2
pkgdesc='A firefox add-on designed to provide more control over the behavior of the sidebar.'
url='https://github.com/Quicksaver/OmniSidebar'
arch=('any')
@@ -21,7 +21,6 @@ conflicts+=("$_gitname")
prepare() {
cp -rf --reflink=auto "$_gitname"/* .
rm -rf "$_gitname"
- find -name '.git*' -exec rm -rf '{}' +
}
makedepends+=(rasqal)