diff options
Diffstat (limited to 'community/zaz')
-rw-r--r-- | community/zaz/PKGBUILD | 7 | ||||
-rw-r--r-- | community/zaz/zaz.install | 13 |
2 files changed, 17 insertions, 3 deletions
diff --git a/community/zaz/PKGBUILD b/community/zaz/PKGBUILD index 2f08aef15..cdec7be9c 100644 --- a/community/zaz/PKGBUILD +++ b/community/zaz/PKGBUILD @@ -1,18 +1,19 @@ -# $Id: PKGBUILD 25431 2010-09-04 20:59:53Z svenstaro $ +# $Id: PKGBUILD 64723 2012-02-18 02:57:50Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Adrián Chaves Fernández (aka Gallaecio) <adriyetichaves@gmail.com> # Contributor: Todd Partridge (aka Gen2ly) <toddrpartridge@gmail.com> pkgname=zaz pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Puzzle game where the player has to arrange balls in triplets." arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/zaz/" license=('GPL3' 'custom:CCBYSA') -depends=('ftgl' 'sdl' 'sdl_image' 'libvorbis' 'libtheora') +depends=('ftgl' 'sdl' 'sdl_image' 'libvorbis' 'libtheora' 'desktop-file-utils') source=(http://download.sourceforge.net/sourceforge/zaz/files/$pkgname-$pkgver.tar.bz2) md5sums=('d92a043780d06c699da0ba04aab32a6b') +install=zaz.install build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/zaz/zaz.install b/community/zaz/zaz.install new file mode 100644 index 000000000..724bfce00 --- /dev/null +++ b/community/zaz/zaz.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |