Created
November 13, 2014 18:41
-
-
Save SammysHP/e9015ab62ffcabddc2e8 to your computer and use it in GitHub Desktop.
qgis PKGBUILD: Use shallow clone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.orig 2014-11-13 19:27:21.163524333 +0100 | |
+++ PKGBUILD 2014-11-13 19:33:19.496732366 +0100 | |
@@ -4,6 +4,7 @@ | |
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org | |
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | |
# Contributor: Eric Forgeot < http://esclinux.tk > | |
+# Contributor: Sven Karsten Greiner <sven@sammyshp.de> | |
# GRASS Plugin, Globe Plugin and QGIS Map Server are disabled in cmake by default. | |
# Uncomment them in the build() portion if you'd like enabled during the build. | |
@@ -50,12 +51,14 @@ | |
provides=("$pkgname=$pkgver") | |
conflicts=("$pkgname-git" "$pkgname") | |
install="$pkgname.install" | |
-source=("${pkgname}::git://github.com/qgis/QGIS.git#branch=release-2_6" | |
- 'https://raw.githubusercontent.com/Ariki/QGIS/support-configure-ng/cmake/FindPyQt.py') | |
-md5sums=('SKIP' | |
- '741c35e251e5623b86c29251567ba1dd') | |
+source=('https://raw.githubusercontent.com/Ariki/QGIS/support-configure-ng/cmake/FindPyQt.py') | |
+md5sums=('741c35e251e5623b86c29251567ba1dd') | |
+_repo='git://github.com/qgis/QGIS.git' | |
+_branch='release-2_6' | |
prepare() { | |
+ git clone --depth 1 --branch "$_branch" "$_repo" "$srcdir/$pkgname" | |
+ | |
cd "$srcdir/$pkgname" | |
mv "$srcdir/FindPyQt.py" cmake/ # https://hub.qgis.org/issues/10596 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment