summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-20 18:50:31 +0200
committerXZS2016-04-20 18:50:31 +0200
commit65cc0671358d6ed972f7cafcba945d5613694308 (patch)
treef380b8d989fdfe7eac0793ce5c3a15d2014f4687
parent9b77b05e37e8fa28468b6690301d46be8d4fcd8e (diff)
downloadaur-65cc0671358d6ed972f7cafcba945d5613694308.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 8a164a0a838e..e51560875824 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mozilla-extension-gnome-keyring-git
pkgdesc = Mozilla extension to store passwords and form logins in gnome-keyring.
pkgver = 0.11
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/swick/moz-gnome-keyring-integration
arch = any
license = GPLv3
diff --git a/PKGBUILD b/PKGBUILD
index ae5708771290..42a987f0c900 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=mozilla-extension-gnome-keyring-git
pkgver=0.11
-pkgrel=2
+pkgrel=3
pkgdesc="Mozilla extension to store passwords and form logins in gnome-keyring."
arch=(any)
url='https://github.com/swick/moz-gnome-keyring-integration'
@@ -27,7 +27,6 @@ conflicts+=("$_gitname")
prepare() {
cp -rf --reflink=auto "$_gitname"/* .
rm -rf "$_gitname"
- find -name '.git*' -exec rm -rf '{}' +
}
makedepends+=(rasqal)