[arch-commits] Commit in gnome-klotski/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 19:26:22 UTC 2016
Date: Tuesday, September 27, 2016 @ 19:26:21
Author: heftig
Revision: 277121
3.22.0+1+gfe2568c-1
Modified:
gnome-klotski/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 19:25:02 UTC (rev 277120)
+++ PKGBUILD 2016-09-27 19:26:21 UTC (rev 277121)
@@ -3,21 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-klotski
-pkgver=3.20.2
+pkgver=3.22.0+1+gfe2568c
pkgrel=1
pkgdesc="Slide blocks to solve the puzzle"
url="https://wiki.gnome.org/Apps/Klotski"
arch=(i686 x86_64)
license=(GPL)
-depends=(gtk3 librsvg libgames-support)
-makedepends=(intltool itstool gobject-introspection)
-options=(!emptydirs)
+depends=(gtk3 librsvg libgnome-games-support)
+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=('5c517534da14bb9b8c90dd76b8c7169557a6876318780677a0e451f982028493')
+_commit=fe2568cc84379d3f646db367432c0a6f1f69456f # master
+source=("git://git.gnome.org/gnome-klotski#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