From e748195bcd300d3496e1efe4be12c915fccc66b2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 24 Sep 2017 17:18:47 +0200 Subject: qgis-git: really use older commit --- qgis-git/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qgis-git') 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() { -- cgit v1.2.3-70-g09d2