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

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


    Date: Tuesday, September 27, 2016 @ 19:13:31
  Author: heftig
Revision: 277115

3.22.0-1

Modified:
  gnome-taquin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 19:12:37 UTC (rev 277114)
+++ PKGBUILD	2016-09-27 19:13:31 UTC (rev 277115)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-taquin
-pkgver=3.20.2
+pkgver=3.22.0
 pkgrel=1
 pkgdesc="Move tiles so that they reach their places"
 url="https://wiki.gnome.org/Apps/Taquin"
@@ -10,19 +10,29 @@
 arch=(x86_64 i686)
 license=(GPL3)
 depends=(gtk3 librsvg libcanberra)
-makedepends=(intltool vala itstool)
+makedepends=(intltool vala itstool yelp-tools appstream-glib git)
 groups=(gnome-extra)
-options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('95a9c5ebc7fc87b58cd08b978acc09071da9b274934e0ec2abe9b5439554b3a2')
+_commit=d869ff0f1561464a20dcf77b8ca937a08e41fca4  # tags/3.22.0^0
+source=("git://git.gnome.org/gnome-taquin#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
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list