Date: Wednesday, September 28, 2016 @ 12:37:28 Author: jgc Revision: 277246
upgpkg: gitg 3.22.0-1 Modified: gitg/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-28 12:12:20 UTC (rev 277245) +++ PKGBUILD 2016-09-28 12:37:28 UTC (rev 277246) @@ -2,7 +2,7 @@ # Maintainer: Eric Bélanger <[email protected]> pkgname=gitg -pkgver=3.20.3 +pkgver=3.22.0 pkgrel=1 pkgdesc='A GIT repository viewer based on GTK+' arch=('i686' 'x86_64') @@ -10,13 +10,24 @@ license=('GPL') depends=('gtksourceview3' 'git' 'desktop-file-utils' 'libgit2-glib' 'libgee' 'webkit2gtk' 'libpeas' 'gtkspell3' 'python-gobject') -makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common' 'glade') +makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common' 'glade' git) groups=('gnome-extra') -source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('4b0802360cdf1341b27a73458930768d139143b568b9153e93378f32f7ba6669') +_commit=226d5f03f8873a7a8bdaa1984036096604eae078 # tags/v3.22.0^0 +source=("git://git.gnome.org/gitg#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd ${pkgname}-${pkgver} + cd $pkgname ./configure --prefix=/usr --enable-glade-catalog # Don't overlink @@ -25,6 +36,6 @@ } package() { - cd ${pkgname}-${pkgver} + cd $pkgname make DESTDIR="${pkgdir}" install }
