Date: Tuesday, April 2, 2013 @ 16:03:26 Author: jgc Revision: 181231 Add new game
Added: gnome-klotski/ gnome-klotski/repos/ gnome-klotski/trunk/ gnome-klotski/trunk/PKGBUILD gnome-klotski/trunk/gnome-klotski.install -----------------------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ gnome-klotski.install | 13 +++++++++++++ 2 files changed, 45 insertions(+) Added: gnome-klotski/trunk/PKGBUILD =================================================================== --- gnome-klotski/trunk/PKGBUILD (rev 0) +++ gnome-klotski/trunk/PKGBUILD 2013-04-02 14:03:26 UTC (rev 181231) @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 168943 2012-10-16 16:31:44Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# Contributor: Jan de Groot <[email protected]> + +pkgname=gnome-klotski +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Slide blocks to solve the puzzle" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg') +makedepends=('intltool' 'itstool' 'gobject-introspection') +conflicts=('gnome-games') +replaces=('gnome-games') +options=('!emptydirs' '!libtool') +install=gnome-klotski.install +url="https://live.gnome.org/Klotski" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('c6c382d5df6d056d6bfb0d1b241c26c4c717bac445755af4ca4fe78bc82b57cb') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-schemas-compile + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Added: gnome-klotski/trunk/gnome-klotski.install =================================================================== --- gnome-klotski/trunk/gnome-klotski.install (rev 0) +++ gnome-klotski/trunk/gnome-klotski.install 2013-04-02 14:03:26 UTC (rev 181231) @@ -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 +}
