Date: Tuesday, September 27, 2016 @ 18:40:34 Author: heftig Revision: 277098
3.22.0-1 Modified: gnome-chess/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-27 18:39:38 UTC (rev 277097) +++ PKGBUILD 2016-09-27 18:40:34 UTC (rev 277098) @@ -3,7 +3,7 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=gnome-chess -pkgver=3.20.1 +pkgver=3.22.0 pkgrel=1 pkgdesc="Play the classic two-player boardgame of chess" url="https://wiki.gnome.org/Apps/Chess" @@ -10,15 +10,25 @@ arch=(i686 x86_64) license=(GPL) depends=(gtk3 librsvg) -makedepends=(intltool itstool gobject-introspection) +makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git) optdepends=('gnuchess: Play against computer') -options=(!emptydirs) groups=(gnome-extra) -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('4715349339491bd7a1072d5d362b5df76efa2067f4363c4b37d9579201d8c66d') +_commit=30a0ada6391dec629a608265f02975d4b65eb53d +source=("git://git.gnome.org/gnome-chess#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-schemas-compile make @@ -25,6 +35,6 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }