summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_mixer/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 05:44:19 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 05:44:19 (GMT)
commit4d635e6283da3ae83ddc5b62938df56d589d3fac (patch)
treef7afeab8f7aed7ac6289a3b7d2f1713d972b131a /abs/extra/sdl_mixer/PKGBUILD
parentb46e9443a912e2427e67079a19e9501b5ba4cdc5 (diff)
downloadlinhes_pkgbuild-4d635e6283da3ae83ddc5b62938df56d589d3fac.zip
linhes_pkgbuild-4d635e6283da3ae83ddc5b62938df56d589d3fac.tar.gz
linhes_pkgbuild-4d635e6283da3ae83ddc5b62938df56d589d3fac.tar.bz2
sdl_mixer:Bumped to latest.
Diffstat (limited to 'abs/extra/sdl_mixer/PKGBUILD')
-rw-r--r--abs/extra/sdl_mixer/PKGBUILD16
1 files 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