updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hheretic / PKGBUILD
blob590b72ead779a98a9090f773471713953ebad605
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Ronan Rabouin <darkbaboon@gmail.com>
4 pkgname=hheretic
5 pkgver=0.2.1
6 pkgrel=1
7 pkgdesc="A Linux port of Raven Game's old shooter, Heretic"
8 arch=('i686' 'x86_64')
9 url="http://hhexen.sourceforge.net/hheretic.html"
10 license=('GPL')
11 depends=('sdl_mixer' 'mesa')
12 optdepends=('timidity++: for midi music support')
13 source=(http://downloads.sourceforge.net/hhexen/$pkgname-$pkgver-src.tgz)
14 md5sums=('5d5d22ec090cd936a2f22171ddb3f4dc')
16 build() {
17   cd "$srcdir"/$pkgname-$pkgver-src
18   ./configure \
19     --prefix=/usr \
20     --with-audio=sdlmixer || return 1
21   make || return 1
22   install -Dm755 $pkgname-gl "$pkgdir"/usr/bin/$pkgname