summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_mixer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/sdl_mixer/PKGBUILD')
-rw-r--r--abs/extra/sdl_mixer/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/sdl_mixer/PKGBUILD b/abs/extra/sdl_mixer/PKGBUILD
new file mode 100644
index 0000000..702532c
--- /dev/null
+++ b/abs/extra/sdl_mixer/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 15782 2008-10-19 01:07:30Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Lukas Sabota <punkrockguy318@cocmast.net> (Timidity Patch)
+
+pkgname=sdl_mixer
+pkgver=1.2.8
+pkgrel=3
+pkgdesc="A simple multi-channel audio mixer"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org/projects/SDL_mixer/"
+license=('LGPL' 'GPL')
+depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
+options=('!libtool')
+source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz)
+md5sums=('0b5b91015d0f3bd9597e094ba67c4d65')
+
+build() {
+ cd ${srcdir}/SDL_mixer-${pkgver}
+ sed -i 's|/usr/local/lib/timidity|/usr/lib/timidity|' timidity/config.h || return 1
+ sed -i 's|/etc/timidity/timidity.cfg|/etc/timidity++/timidity.cfg|' timidity/config.h || return 1
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=${pkgdir} install
+}