diff options
Diffstat (limited to 'extra/tali/PKGBUILD')
-rw-r--r-- | extra/tali/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/tali/PKGBUILD b/extra/tali/PKGBUILD new file mode 100644 index 000000000..2558d262c --- /dev/null +++ b/extra/tali/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 168943 2012-10-16 16:31:44Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=tali +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Beat the odds in a poker-style dice game" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg') +makedepends=('intltool' 'itstool' 'gobject-introspection') +conflicts=('gnome-games') +replaces=('gnome-games') +options=('!emptydirs' '!libtool') +install=tali.install +url="https://live.gnome.org/Tali" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('77fa3a3804f51e40629799d441b34e9b01a665097be229bd94adb28d3dbc17d5') + +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" +} |