1 # Contributor: Benjarobin
2 # Contributor: Eric Forgeot < http://anamnese.online.fr >
7 pkgdesc="The Blasphemous Multimedia Engine is a graphics/sound/input library using in turn SDL library for lowlevel support"
9 url="http://cadaver.homeftp.net/tools.htm"
13 source=(http://cadaver.homeftp.net/misc/bme.zip makefile.patch)
15 md5sums=('d394278f789d00116cc8fbfa52d20bb9'
16 'f9358e3af2aa8d5a82090f46478c693f')
21 patch makefile < $startdir/makefile.patch || return 1
24 mkdir -p $startdir/pkg/usr/lib || return 1
25 mkdir -p $startdir/pkg/usr/share/bme || return 1
27 install -m644 $startdir/src/src/libbme.a $startdir/pkg/usr/lib || return 1
28 install -m755 $startdir/src/src/libbme.so.0 $startdir/pkg/usr/lib || return 1
29 install -m644 $startdir/src/src/{editor,fonts}.spr $startdir/pkg/usr/share/bme || return 1
30 install -m644 $startdir/src/src/{editor,fonts}.lbm $startdir/pkg/usr/share/bme || return 1
31 install -m755 $startdir/src/src/{bmeconv,bmeplay,dat2inc,datafile,infedit,mapedit} $startdir/pkg/usr/share/bme || return 1