updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-sdl / PKGBUILD
blob07e456e2cc5fbd2a595d4728195fca24de66fd5a
1 # Maintainer: Mikael Eriksson <mikael_miffe_eriksson@yahoo.se>
3 pkgname=mingw32-sdl
4 pkgver=1.2.15
5 pkgrel=1
6 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (mingw32)"
7 arch=('any')
8 url="http://libsdl.org/"
9 license=('LGPL')
10 depends=('mingw32-runtime')
11 makedepends=('mingw32-gcc' 'mingw32-w32api' 'mingw32-dx7-headers')
12 source=(http://libsdl.org/release/SDL-$pkgver.tar.gz)
13 options=(!strip !buildflags)
14 md5sums=('9d96df8417572a2afb781a7c4c811a85')
16 build() {
17   cd "$srcdir/SDL-$pkgver"
19   unset CFLAGS # Kill it with fire, !buildflags is not enough
21   ./configure --host=i486-mingw32 \
22   --prefix=/usr/i486-mingw32 \
23   --enable-static \
24   --disable-stdio-redirect \
25   --enable-shared
27   make
28   make DESTDIR="$pkgdir" install
31 # vim:set ts=2 sw=2 et: