diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
commit | ad45d1982b97faa9372d99e51daa687c7c09de7d (patch) | |
tree | af490221f2b733b8f0cf68f3898566d5049c3ab4 /extra/tali | |
parent | 7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (diff) |
Tue Apr 15 03:22:01 UTC 2014
Diffstat (limited to 'extra/tali')
-rw-r--r-- | extra/tali/PKGBUILD | 12 | ||||
-rw-r--r-- | extra/tali/tali.install | 23 |
2 files changed, 5 insertions, 30 deletions
diff --git a/extra/tali/PKGBUILD b/extra/tali/PKGBUILD index 09af8d2ad..3992dd676 100644 --- a/extra/tali/PKGBUILD +++ b/extra/tali/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 199338 2013-11-11 11:09:59Z heftig $ +# $Id: PKGBUILD 210533 2014-04-14 20:07:31Z jgc $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=tali -pkgver=3.10.2 +pkgver=3.12.0 pkgrel=1 pkgdesc="Beat the odds in a poker-style dice game" arch=('i686' 'x86_64') @@ -17,20 +17,16 @@ install=tali.install url="https://live.gnome.org/Tali" groups=('gnome-extra') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('6a1c1f1dfe8591d3f74f2d46edae9172606581efbb6bbe04f43b2b908a24383b') +sha256sums=('0a83d62313ee863a2c52bf5e92609020dbcc62057e354a39455f9e3e84545011') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-schemas-compile \ - --with-scores-user=root --with-scores-group=games + --disable-schemas-compile make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - - # Remove all scores, we generate them from postinstall - rm -rf "$pkgdir/var" } diff --git a/extra/tali/tali.install b/extra/tali/tali.install index 8e65298ad..d04cdce36 100644 --- a/extra/tali/tali.install +++ b/extra/tali/tali.install @@ -1,22 +1,7 @@ -_scores=( - gtali.Colors.scores - gtali.Regular.scores -) - post_install() { glib-compile-schemas usr/share/glib-2.0/schemas update-desktop-database -q gtk-update-icon-cache -q -f usr/share/icons/hicolor - - for score in "${_scores[@]}" ; do - if [ -e "var/games/$score" ]; then - continue - fi - - touch "var/games/$score" - chown root:games "var/games/$score" - chmod 664 "var/games/$score" - done } post_upgrade() { @@ -24,11 +9,5 @@ post_upgrade() { } post_remove() { - glib-compile-schemas usr/share/glib-2.0/schemas - update-desktop-database -q - gtk-update-icon-cache -q -f usr/share/icons/hicolor - - for score in "${_scores[@]}" ; do - rm -f "var/games/$score" - done + post_install } |