summaryrefslogtreecommitdiff
path: root/extra/sdl2_mixer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-09 01:49:58 -0700
committerroot <root@rshg054.dnsready.net>2013-08-09 01:49:58 -0700
commit7978ce3c736ef00274d5956c378df572315702bd (patch)
treed7ad3d3505e9a534455353724fe110d23813e67e /extra/sdl2_mixer
parentd65d13a9fb3099310bb7736be11ee0724dde2dc7 (diff)
Fri Aug 9 01:49:55 PDT 2013
Diffstat (limited to 'extra/sdl2_mixer')
-rw-r--r--extra/sdl2_mixer/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/sdl2_mixer/PKGBUILD b/extra/sdl2_mixer/PKGBUILD
new file mode 100644
index 000000000..760fee8a7
--- /dev/null
+++ b/extra/sdl2_mixer/PKGBUILD
@@ -0,0 +1,29 @@
+#Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=sdl2_mixer
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="A simple multi-channel audio mixer (Version 2)"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('MIT')
+depends=('sdl2' 'libvorbis' 'libmodplug' 'smpeg2' 'flac')
+makedepends=('fluidsynth')
+optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
+options=(!libtool)
+source=("http://www.libsdl.org/tmp/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz")
+md5sums=('4c85cdc7b6d162afb918aed626436109')
+
+build() {
+ cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+ ./configure --disable-static --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}