summaryrefslogtreecommitdiff
path: root/extra/sdl2_mixer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sdl2_mixer/PKGBUILD')
-rw-r--r--extra/sdl2_mixer/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/extra/sdl2_mixer/PKGBUILD b/extra/sdl2_mixer/PKGBUILD
index 7d43335b5..a2dd95fb3 100644
--- a/extra/sdl2_mixer/PKGBUILD
+++ b/extra/sdl2_mixer/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 198415 2013-10-30 14:44:04Z allan $
+# $Id: PKGBUILD 207160 2014-03-08 04:43:32Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=sdl2_mixer
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="A simple multi-channel audio mixer (Version 2)"
arch=('i686' 'x86_64')
url="http://www.libsdl.org/projects/SDL_mixer"
@@ -14,6 +14,13 @@ optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
source=("$url/release/SDL2_mixer-${pkgver}.tar.gz")
md5sums=('65f6d80df073a1fb3bb537fbda031b50')
+prepare() {
+ cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+ sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/config.h
+ sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/config.h
+}
+
build() {
cd "${srcdir}/SDL2_mixer-${pkgver}/"