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

Jan Steffens heftig at archlinux.org
Tue Sep 27 20:15:24 UTC 2016


    Date: Tuesday, September 27, 2016 @ 20:15:23
  Author: heftig
Revision: 277157

3.22.0+1+g6ac88b0-1

Modified:
  swell-foop/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 20:13:09 UTC (rev 277156)
+++ PKGBUILD	2016-09-27 20:15:23 UTC (rev 277157)
@@ -3,23 +3,31 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=swell-foop
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0+1+g6ac88b0
+pkgrel=1
 pkgdesc="Clear the screen by removing groups of colored and shaped tiles"
 url="https://wiki.gnome.org/Apps/Swell%20Foop"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('clutter-gtk' '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=('40532a734dcae6d42a1e4692fd94e395442ff07c134acacf5fce3396c1e352a4')
+arch=(i686 x86_64)
+license=(GPL)
+depends=(clutter-gtk librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+groups=(gnome-extra)
+_commit=6ac88b0f0137dcd90910c8bfabe52d0d0bd6930d  # master
+source=("git://git.gnome.org/swell-foop#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