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

Jan Steffens heftig at archlinux.org
Tue Sep 27 18:31:11 UTC 2016


    Date: Tuesday, September 27, 2016 @ 18:31:11
  Author: heftig
Revision: 277088

3.22.0-1

Modified:
  tali/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 18:30:58 UTC (rev 277087)
+++ PKGBUILD	2016-09-27 18:31:11 UTC (rev 277088)
@@ -3,23 +3,31 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=tali
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0
+pkgrel=1
 pkgdesc="Beat the odds in a poker-style dice game"
 url="https://wiki.gnome.org/Apps/Tali"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gtk3' 'librsvg')
-makedepends=('intltool' 'itstool' 'gobject-introspection')
-conflicts=('gnome-games')
-replaces=('gnome-games')
-options=('!emptydirs')
-groups=('gnome-extra')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6437ab66672c331098e6df44ad708397b6363182d5c08c9ededf711cbf5cb818')
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib git)
+groups=(gnome-extra)
+_commit=985406dcd0f037a0dd279e2fab1a93a233220aad
+source=("git://git.gnome.org/tali#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