Date: Tuesday, April 2, 2013 @ 11:38:12 Author: jgc Revision: 181184 Add new package
Added: gnome-chess/ gnome-chess/repos/ gnome-chess/trunk/ gnome-chess/trunk/PKGBUILD gnome-chess/trunk/gnome-chess.install ---------------------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ gnome-chess.install | 13 +++++++++++++ 2 files changed, 45 insertions(+) Added: gnome-chess/trunk/PKGBUILD =================================================================== --- gnome-chess/trunk/PKGBUILD (rev 0) +++ gnome-chess/trunk/PKGBUILD 2013-04-02 09:38:12 UTC (rev 181184) @@ -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-chess +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Play the classic two-player boardgame of chess" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg' 'sqlite') +makedepends=('intltool' 'itstool' 'gobject-introspection') +conflicts=('gnome-games') +replaces=('gnome-games') +options=('!emptydirs' '!libtool') +install=gnome-chess.install +url="https://live.gnome.org/Chess" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('ed6ae4f20b8c21d8e3ce54557c79320dabff63ddbd83292b395a2e3a3156b24d') + +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-chess/trunk/gnome-chess.install =================================================================== --- gnome-chess/trunk/gnome-chess.install (rev 0) +++ gnome-chess/trunk/gnome-chess.install 2013-04-02 09:38:12 UTC (rev 181184) @@ -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 +}
