From 4d635e6283da3ae83ddc5b62938df56d589d3fac Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Mon, 4 Jul 2011 22:44:19 -0700
Subject: sdl_mixer:Bumped to latest.

---
 abs/extra/sdl_mixer/PKGBUILD | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/abs/extra/sdl_mixer/PKGBUILD b/abs/extra/sdl_mixer/PKGBUILD
index 702532c..f241519 100644
--- a/abs/extra/sdl_mixer/PKGBUILD
+++ b/abs/extra/sdl_mixer/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 15782 2008-10-19 01:07:30Z allan $
+# $Id: PKGBUILD 70367 2010-02-26 13:24:25Z 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
+pkgver=1.2.11
+pkgrel=2
 pkgdesc="A simple multi-channel audio mixer"
 arch=('i686' 'x86_64')
 url="http://www.libsdl.org/projects/SDL_mixer/"
@@ -13,12 +13,16 @@ 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')
+md5sums=('65ada3d997fe85109191a5fb083f248c')
 
 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
+
+  sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \
+      -e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \
+      -e "/DEFAULT_PATH2/s/\/usr\/local\/lib\/timidity/\/usr\/lib\/timidity/" \
+      -i timidity/config.h
+
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${pkgdir} install
-- 
cgit v0.12

