updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / hugo / PKGBUILD
blob156b01a84b36ae9dd9fe937c70c4351b88a443c8
1 # Contributor: rabyte <rabyte.at.pen.dot.tj>
3 pkgname=hugo
4 pkgver=2.12
5 pkgrel=1
6 pkgdesc="A TurboGrafx-16/PC Engine emulator"
7 arch=('i686')
8 url="http://www.zeograd.com/parse.php?src=hugof&path=0,1,"
9 license=('GPL2' 'Modified BSD license')
10 depends=('sdl_net' 'sdl_mixer' 'gtk2')
11 source=(http://www.zeograd.com/download/$pkgname-$pkgver.tar.gz \
12         $pkgname-$pkgver-gcc42.patch \
13         LICENSE)
14 md5sums=('1256ab47592413d12789166da23c00fc' '38434092a096f44763bc34f85b928382'
15          '7e56048f4feeb36d2e9b8084fc07d600')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
20   patch -Np1 -i ../$pkgname-$pkgver-gcc42.patch || return 1
22   ./configure --prefix=/usr --with-sdl-mixer --with-ogg-support
23   make || return 1
24   make DESTDIR=$startdir/pkg install
26   install -m644 -D ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE