summaryrefslogtreecommitdiff
path: root/qgis-git
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-24 17:18:47 +0200
committerErich Eckner <git@eckner.net>2017-09-24 17:18:47 +0200
commite748195bcd300d3496e1efe4be12c915fccc66b2 (patch)
tree080cadb36dd4cbee03b1cccb515d160142b93028 /qgis-git
parent5425e11feea26c50d13b2b52d4fdc610d3918c34 (diff)
downloadarchlinuxewe-e748195bcd300d3496e1efe4be12c915fccc66b2.tar.xz
qgis-git: really use older commit
Diffstat (limited to 'qgis-git')
-rw-r--r--qgis-git/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/qgis-git/PKGBUILD b/qgis-git/PKGBUILD
index 8583a6d8e..bf3847433 100644
--- a/qgis-git/PKGBUILD
+++ b/qgis-git/PKGBUILD
@@ -5,6 +5,7 @@ pkgname=qgis-git
_pkgname=qgis
pkgver=2.99.0.r40798.7d4f81d4c6
_pkgver=2.99.0
+_commit=${pkgver##*.}
pkgrel=1
pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats - Development master'
url='http://qgis.org/'
@@ -20,13 +21,13 @@ optdepends=('grass: for GRASS providers and plugin (6 or 7)'
'ocilib: oracle provider')
#install="$_pkgname.install"
-source=("${_pkgname}::git://github.com/qgis/QGIS.git")
+source=("${_pkgname}::git://github.com/qgis/QGIS.git#commit=$_commit")
md5sums=('SKIP')
conflicts=('qgis')
pkgver(){
cd "$_pkgname"
- printf "%s.r%s" "$_pkgver" "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "%s.r%s" "$_pkgver" "$(git rev-list --count $_commit).$(git rev-parse --short $_commit)"
}
prepare() {