updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / vbaexpress / PKGBUILD
blob28fcc05d0d78f0c20ec0d6d3acdc6b64e3a69cfb
1 # Maintainer: Lex Black <alesch87 at web.de>
2 # Contributor: Brad Fanella
3 # Contributor: Achraf cherti <achrafcherti@gmail.com>
4 # Contributor: Thomas Dziedzic
6 pkgname=vbaexpress
7 pkgver=1.2
8 pkgrel=5
9 pkgdesc="A VisualBoyAdvance frontend to configure the emulator easily."
10 arch=('any')
11 license="GPL2"
12 url="http://vbaexpress.tuxfamily.org"
13 depends=('sdl' 'fltk' 'libxpm' 'visualboyadvance')
14 source=($url/$pkgname-$pkgver.tar.gz)
15 md5sums=('09aa109c9adf2b1e70fed04016546d89')
17 build() {
18         cd "$srcdir/$pkgname-$pkgver"
19         make CFLAGS='-Os -DLINUX `fltk-config --cxxflags` `sdl-config --cflags` -Isrc' \
20                 LIBS='`fltk-config --use-images --ldflags` `sdl-config --libs` -lXpm'
23 package() {
24         cd "$srcdir/$pkgname-$pkgver"
25         make PREFIX="$pkgdir/usr" install