From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/zaz/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community/zaz/zaz.install | 13 +++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/zaz/PKGBUILD create mode 100644 community/zaz/zaz.install (limited to 'community/zaz') diff --git a/community/zaz/PKGBUILD b/community/zaz/PKGBUILD new file mode 100644 index 000000000..7a4684d6d --- /dev/null +++ b/community/zaz/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 75255 2012-08-17 04:30:40Z svenstaro $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Adrián Chaves Fernández (aka Gallaecio) +# Contributor: Todd Partridge (aka Gen2ly) + +pkgname=zaz +pkgver=1.0.0 +pkgrel=3 +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' '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" + + ./configure --prefix=/usr --disable-splash + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 data/copyright.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE_DATA +} 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 +} -- cgit v1.2.3-54-g00ecf