mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
23 lines
811 B
Bash
23 lines
811 B
Bash
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
|
|
pkgname=sdl_mixer
|
|
pkgver=1.2.8
|
|
pkgrel=1
|
|
pkgdesc="A simple multi-channel audio mixer"
|
|
arch=('arm')
|
|
url="http://www.libsdl.org/projects/SDL_mixer/"
|
|
license=('LGPL' 'GPL')
|
|
#depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
|
|
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod')
|
|
options=('!libtool')
|
|
source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz)
|
|
md5sums=('0b5b91015d0f3bd9597e094ba67c4d65')
|
|
|
|
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
|
|
./configure --prefix=/usr --disable-smpeg
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|