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

Jan Steffens heftig at archlinux.org
Tue Sep 27 18:10:43 UTC 2016


    Date: Tuesday, September 27, 2016 @ 18:10:42
  Author: heftig
Revision: 277081

3.22.0-1

Modified:
  gnome-tetravex/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 17:58:00 UTC (rev 277080)
+++ PKGBUILD	2016-09-27 18:10:42 UTC (rev 277081)
@@ -3,23 +3,31 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-tetravex
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0
+pkgrel=1
 pkgdesc="Complete the puzzle by matching numbered tiles"
 url="https://wiki.gnome.org/Apps/Tetravex"
 arch=(i686 x86_64)
 license=(GPL)
 depends=(gtk3)
-makedepends=(intltool itstool gobject-introspection vala)
-conflicts=(gnome-games)
-replaces=(gnome-games)
-options=(!emptydirs)
+makedepends=(intltool itstool gobject-introspection vala yelp-tools appstream-glib git)
 groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('a1bdfa4233484566a01373b19f8c0fb126b7c5728227916a48d2ee012c3cbd62')
+_commit=a0c099009d4a22c4745d173b7a13e202da81f4b8
+source=("git://git.gnome.org/gnome-tetravex#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
@@ -26,6 +34,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list