[arch-commits] Commit in iagno/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Sep 27 19:17:13 UTC 2016


    Date: Tuesday, September 27, 2016 @ 19:17:12
  Author: heftig
Revision: 277116

3.22.0-1

Modified:
  iagno/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 19:13:31 UTC (rev 277115)
+++ PKGBUILD	2016-09-27 19:17:12 UTC (rev 277116)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=iagno
-pkgver=3.20.2
+pkgver=3.22.0
 pkgrel=1
 pkgdesc="Dominate the board in a classic version of Reversi"
 url="https://wiki.gnome.org/Apps/Iagno"
@@ -10,14 +10,24 @@
 arch=(i686 x86_64)
 license=(GPL)
 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=('73f0f201ebf12b88e05cdefbaa72ccd5309bb592a9690d076285dbb800e965d2')
+_commit=857adea28db86ce5b6235c439409f34588e1da45  # tags/3.22.0^0
+source=("git://git.gnome.org/iagno#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
 }



More information about the arch-commits mailing list