# $Id: PKGBUILD 205062 2014-02-04 00:47:45Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot pkgname=gnome-robots pkgver=3.10.2 pkgrel=1 pkgdesc="Avoid the robots and make them crash into each other" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'libcanberra' 'librsvg') makedepends=('intltool' 'itstool' 'gobject-introspection') conflicts=('gnome-games') replaces=('gnome-games') options=('!emptydirs') install=gnome-robots.install url="https://live.gnome.org/Robots" groups=('gnome-extra') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('7d568e2fc21c86ad53e95689b9fb9dc079c2ad260a955bbaf17f2cf740f45713') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-schemas-compile \ --with-scores-user=root --with-scores-group=games make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # Remove all scores, we generate them from postinstall rm -rf "$pkgdir/var" }