2 # g++ bgi-sample.cpp -o bgi-sample \
3 # -I/usr/include/boss/ \
4 # `pkg-config --cflags sdl` \
5 # -lboss -lSDL -lSDL_mixer -lSDL_ttf
11 pkgdesc="BGI(Borland Graphics Interface) over SDL implementation"
13 url="http://www.codedread.com/boss.php"
15 depends=('sdl' 'sdl_mixer' 'sdl_ttf')
16 makedepends=('gcc' 'hd2u')
18 source=(http://www.codedread.com/boss-src-$pkgver.tar.gz
20 md5sums=('8017b80ce663e80c647915b6dbed4421'
21 '078dde78f94a3e951001428e3fad7123')
25 patch -p1 <$srcdir/build-fix.patch
26 dos2unix include/boss.h
28 gcc -c boss.cpp -o boss.o -I../include/ `pkg-config --cflags sdl` `pkg-config --cflags SDL_ttf`
34 install -Dm0644 src/libboss.a $pkgdir/usr/lib/libboss.a
35 install -Dm0644 include/boss.h $pkgdir/usr/include/boss/graphics.h