updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / onscripter / PKGBUILD
blob7127ffe306d333c9fe5a3e8d7cdc40bc6c969e0f
1 pkgname=onscripter
2 pkgver=20120115
3 pkgrel=1
4 pkgdesc="A game engine compatible to NScripter, which is used to create and perform visual novel games"
5 arch=('i686' 'x86_64')
6 url="http://onscripter.sourceforge.jp/onscripter.html"
7 license=('GPL')
8 depends=('bzip2' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
9 source=(http://onscripter.sourceforge.jp/$pkgname-$pkgver.tar.gz)
10 md5sums=('766053a1b3f403ead1ced379aebd3a3e')
12 build() {
13         cd $pkgname-$pkgver
15         echo "LIBS = `sdl-config --libs` `smpeg-config --libs` -lSDL_ttf -lSDL_image -lSDL_mixer -lbz2 -ljpeg -lm -logg -lvorbis -lvorbisfile
16         CFLAGS += -fomit-frame-pointer -pipe -c `sdl-config --cflags` `smpeg-config --cflags` -DLINUX -DUSE_OGG_VORBIS
17         OBJSUFFIX = .o
18         CC = g++
19         LD = g++ -o
20         TARGET = onscripter
21         include Makefile.onscripter" > Makefile
23         make || return 1
24         mkdir -p $pkgdir/usr/bin
25         install -m755 onscripter $pkgdir/usr/bin/