Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Apr 5th, 2013  |  syntax: Bash  |  size: 0.98 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Mikael Eriksson <mikael_miffe_eriksson@yahoo.se>
  2.  
  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.         "Makefile.in.patch")
  15. md5sums=('e03ff73d77a55e3572ad0217131dc4a1'
  16.          '664e1786fb762492737994e5af915051')
  17.  
  18. build() {
  19.   cd "$startdir/src/SDL_mixer-$pkgver"
  20.   patch -p0 < ../../Makefile.in.patch
  21.  
  22.   # mingw32-smpeg needed for music-mp3
  23.   # mingw32-mikmod needed for music-mod
  24.   unset LDFLAGS
  25.   PKG_CONFIG_PATH=/usr/i486-mingw32/lib/pkgconfig \
  26.   ./configure --host=i486-mingw32 \
  27.   --prefix=/usr/i486-mingw32 \
  28.   --disable-music-mod \
  29.   --disable-music-mp3
  30.  
  31.   make
  32.   make DESTDIR="$startdir/pkg" install
  33. }
  34.  
  35. # vim:set ts=2 sw=2 et: