diff options
Diffstat (limited to 'extra/gnome-chess')
-rw-r--r-- | extra/gnome-chess/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/gnome-chess/gnome-chess.install | 13 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/gnome-chess/PKGBUILD b/extra/gnome-chess/PKGBUILD new file mode 100644 index 000000000..5ec4bb961 --- /dev/null +++ b/extra/gnome-chess/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 183371 2013-04-21 22:09:39Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-chess +pkgver=3.8.1 +pkgrel=1 +pkgdesc="Play the classic two-player boardgame of chess" +arch=('i686' 'x86_64' 'mips64el') +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=('f8a756d0e532ee9532745257bcb3514b3e75a0e2fa7e75b7358b59cdaf3a7661') + +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/gnome-chess/gnome-chess.install b/extra/gnome-chess/gnome-chess.install new file mode 100644 index 000000000..0730c1a47 --- /dev/null +++ b/extra/gnome-chess/gnome-chess.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 +} |