Date: Tuesday, September 27, 2016 @ 20:26:05 Author: heftig Revision: 277166
3.22.0+1+gc1648a4-1 Modified: four-in-a-row/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-27 20:23:24 UTC (rev 277165) +++ PKGBUILD 2016-09-27 20:26:05 UTC (rev 277166) @@ -3,7 +3,7 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=four-in-a-row -pkgver=3.20.1 +pkgver=3.22.0+1+gc1648a4 pkgrel=1 pkgdesc="Make lines of the same color to win" url="https://wiki.gnome.org/Apps/Four-in-a-row" @@ -10,14 +10,24 @@ arch=(i686 x86_64) license=(GPL3) depends=(gtk3 libcanberra librsvg) -makedepends=(intltool itstool gobject-introspection) -options=(!emptydirs) +makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git) groups=(gnome-extra) -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('3f3689fbbc25a91deb4af277cdc20e8db0e5aecfd17dc1376ad4b8d993ab7cf7') +_commit=c1648a47a1851ef71ee1030129810efe3548d110 # master +source=("git://git.gnome.org/four-in-a-row#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 @@ -24,6 +34,6 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }