summaryrefslogtreecommitdiff
path: root/community/zaz
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
committerroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
commit1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch)
tree24f65718bdb292fc62194464db8bee1348c48ee5 /community/zaz
parentb31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff)
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'community/zaz')
-rw-r--r--community/zaz/PKGBUILD7
-rw-r--r--community/zaz/zaz.install13
2 files changed, 17 insertions, 3 deletions
diff --git a/community/zaz/PKGBUILD b/community/zaz/PKGBUILD
index 8954f7386..87c196109 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')
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
+}