[arch-commits] Commit in (4 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu Aug 8 13:08:19 UTC 2013
Date: Thursday, August 8, 2013 @ 15:08:19
Author: svenstaro
Revision: 192240
Adding sdl2_mixer
Added:
sdl2_mixer/
sdl2_mixer/repos/
sdl2_mixer/trunk/
sdl2_mixer/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: sdl2_mixer/trunk/PKGBUILD
===================================================================
--- sdl2_mixer/trunk/PKGBUILD (rev 0)
+++ sdl2_mixer/trunk/PKGBUILD 2013-08-08 13:08:19 UTC (rev 192240)
@@ -0,0 +1,29 @@
+#Maintainer: Sven-Hendrik Haase <sh at 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"
+}
More information about the arch-commits
mailing list