updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / heroes-alpha / PKGBUILD
blob9c13ff9e5773c8bb7a7b923d231046ef4c9ecfb5
1 # Maintainer: Hubert Maraszek <marach5 at gmail dot com>
2 pkgname=heroes-alpha
3 pkgver=0.29c
4 pkgrel=1
5 pkgdesc="An advanced Nibbles clone - alpha version"
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 conflicts=('heroes')
14 source=(http://heroes.sourceforge.net/dl/prereleases/heroes-$pkgver.tar.gz
15         hedlite.patch)
16 md5sums=('b88f7fbe4d92aba36f095d3b7086ab74'
17          '1e0e82f1108d35fc77336a4b841cbf58')
19 build() {
20   cd "$srcdir/heroes-$pkgver"
21   patch -f src/hedlite.c $srcdir/hedlite.patch
22   
23   ./configure --prefix=/usr --with-sdl --with-sdl-mixer
24   make
27 package() {
28   cd "$srcdir/heroes-$pkgver"
30   make DESTDIR="$pkgdir/" install
33 # vim:set ts=2 sw=2 et: