updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / heroes / PKGBUILD
blobf94266f6b09c013d3a22f504fa26d9f26eee52fe
1 # Maintainer: Hubert Maraszek <marach5 at gmail dot com>
2 pkgname=heroes
3 pkgver=0.21
4 pkgrel=1
5 pkgdesc="An advanced Nibbles clone"
6 arch=('i686')
7 url="http://heroes.sourceforge.net/"
8 license=('GPL')
9 depends=('sdl_mixer' 'heroes-data')
10 optdepends=('heroes-sound-effects: sound effects'
11             'heroes-sound-tracks: game music'
12             'heroes-hq-sound-tracks: higher quality music')
13 source=(http://prdownloads.sourceforge.net/heroes/$pkgname-$pkgver.tar.gz
14         hedlite.patch
15         menus.patch)
16 md5sums=('3238290f219bc978894ba472fac95298'
17          '8ad75b26d00ea47268ec9ca160b94954'
18          '048dbf47ec3797016c8fd653e2e371c8')
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
22   patch -f src/hedlite.c $srcdir/hedlite.patch
23   patch -f src/menus.c $srcdir/menus.patch
24   
25   ./configure --prefix=/usr --with-sdl --with-sdl-mixer
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir/" install
35 # vim:set ts=2 sw=2 et: