[arch-commits] Commit in gnome-nibbles/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 19:25:03 UTC 2016
Date: Tuesday, September 27, 2016 @ 19:25:02
Author: heftig
Revision: 277120
3.22.0+1+g84ff360-1
Modified:
gnome-nibbles/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 19:24:48 UTC (rev 277119)
+++ PKGBUILD 2016-09-27 19:25:02 UTC (rev 277120)
@@ -3,21 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-nibbles
-pkgver=3.20.2.1
+pkgver=3.22.0+1+g84ff360
pkgrel=1
pkgdesc="Guide a worm around a maze"
url="https://wiki.gnome.org/Apps/Nibbles"
arch=(i686 x86_64)
license=(GPL)
-depends=(clutter-gtk libcanberra librsvg libgames-support libgee)
-makedepends=(intltool itstool gobject-introspection)
-options=(!emptydirs)
+depends=(clutter-gtk libcanberra librsvg libgnome-games-support libgee)
+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=('9253431072e3dff89cc13582c815cc9ed9d7c2d7a10321418a2e7416c1ef7e67')
+_commit=84ff360f0fe8186513b3414ef7381071efe9d548 # master
+source=("git://git.gnome.org/gnome-nibbles#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