1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="A Z-Machine interpreter supporting unicode, sound, blorbfile and more."
7 url="http://spellbreaker.org/~chrender/fizmo/"
9 depends=('sdl_sound' 'libxml2' 'gdk-pixbuf' 'ncurses' 'libsndfile')
11 source=(http://spellbreaker.org/~chrender/fizmo/source/$pkgname-$pkgver.tar.gz config.mk)
12 md5sums=('167a5f6bdd98bb8e4ae41b9ce22e799e'
13 '59c2e109a524645462534a1679dc0230')
16 #can use libsndfile or sdl_sound
19 cd $srcdir/$pkgname-$pkgver
21 cp $srcdir/config.mk $srcdir/$pkgname-$pkgver
23 mkdir -p $pkgdir/usr/bin/
24 mkdir -p $pkgdir/usr/share/man/man6
26 sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/$pkgname-$pkgver/src/ncursesw/ncrsw_if.c
30 gzip -9 -c $srcdir/$pkgname-$pkgver/src/man/fizmo.6 > $srcdir/$pkgname-$pkgver/src/man/fizmo.6.gz
31 install -D -m644 $srcdir/$pkgname-$pkgver/src/man/fizmo.6.gz $pkgdir/usr/share/man/man6/
33 install -D -m755 $srcdir/$pkgname-$pkgver/fizmo $pkgdir/usr/bin/
35 # no make install otherwise it will go into /usr/games/
36 #make DESTDIR=$pkgdir install || return 1