diff options
Diffstat (limited to 'extra/gnome-robots/PKGBUILD')
-rw-r--r-- | extra/gnome-robots/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/gnome-robots/PKGBUILD b/extra/gnome-robots/PKGBUILD new file mode 100644 index 000000000..8f4c471d2 --- /dev/null +++ b/extra/gnome-robots/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 183394 2013-04-21 22:10:16Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-robots +pkgver=3.8.1 +pkgrel=1 +pkgdesc="Avoid the robots and make them crash into each other" +arch=('i686' 'x86_64') +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' '!libtool') +install=gnome-robots.install +url="https://live.gnome.org/Robots" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('6faeeef5ab9b5002c7ca3cf60ea67e7a66064654ae28c68c233b2ee40459a704') + +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" +} |