summaryrefslogtreecommitdiff
path: root/community/zaz/PKGBUILD
blob: 87c1961097bd20131322a90aa81c02e55e25ccc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $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=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' '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
  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
}