# $Id: PKGBUILD 197952 2013-10-30 11:52:58Z allan $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot pkgname=five-or-more pkgver=3.10.1 pkgrel=1 pkgdesc="Remove colored balls from the board by forming lines" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg') makedepends=('intltool' 'itstool' 'gobject-introspection') conflicts=('gnome-games') replaces=('gnome-games') options=('!emptydirs') install=five-or-more.install url="https://live.gnome.org/Five%20or%20more" groups=('gnome-extra') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('3614ad2548d4954c4069c348ba08b32b4ef92b22939e4d2955f44f50ecb0a15b') 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" }