updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-sdl_mixer / PKGBUILD
blob96502297aa3c4727a9f6bcb84e368acf190836ad
1 # Maintainer: Mikael Eriksson <mikael_miffe_eriksson@yahoo.se>
3 pkgname=mingw32-sdl_mixer
4 pkgver=1.2.12
5 pkgrel=1
6 pkgdesc="A simple multi-channel audio mixer (mingw32)"
7 arch=('any')
8 url="http://www.libsdl.org/projects/SDL_mixer/"
9 license=('LGPL')
10 depends=('mingw32-sdl' 'mingw32-runtime')
11 makedepends=('mingw32-gcc')
12 options=(!strip !buildflags)
13 source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz)
14 md5sums=('e03ff73d77a55e3572ad0217131dc4a1')
16 build() {
17   cd "$startdir/src/SDL_mixer-$pkgver"
19   # mingw32-smpeg needed for music-mp3
20   # mingw32-mikmod needed for music-mod
22   PKG_CONFIG_PATH=/usr/i486-mingw32/lib/pkgconfig \
23   ./configure --host=i486-mingw32 \
24   --prefix=/usr/i486-mingw32 \
25   --disable-music-mod \
26   --disable-music-mp3
28   make
29   make DESTDIR="$startdir/pkg" install
32 # vim:set ts=2 sw=2 et: