summaryrefslogtreecommitdiff
path: root/extra/swell-foop
diff options
context:
space:
mode:
Diffstat (limited to 'extra/swell-foop')
-rw-r--r--extra/swell-foop/PKGBUILD32
-rw-r--r--extra/swell-foop/swell-foop.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/swell-foop/PKGBUILD b/extra/swell-foop/PKGBUILD
new file mode 100644
index 000000000..5d93838ca
--- /dev/null
+++ b/extra/swell-foop/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 183460 2013-04-21 22:12:12Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=swell-foop
+pkgver=3.8.1
+pkgrel=1
+pkgdesc="Clear the screen by removing groups of colored and shaped tiles"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=swell-foop.install
+url="https://live.gnome.org/Swell%20Foop"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('50d6b53d7507c1176ade9227f04d1c260143a5ebf8cf812c359c89eaeec9ee99')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/extra/swell-foop/swell-foop.install b/extra/swell-foop/swell-foop.install
new file mode 100644
index 000000000..0730c1a47
--- /dev/null
+++ b/extra/swell-foop/swell-foop.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}