core/sdl_sound/PKGBUILD

32 lines
783 B
Bash
Raw Normal View History

# Maintainer: abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgname=sdl_sound
pkgver=1.0.3
pkgrel=13
2010-03-14 23:48:48 +08:00
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://icculus.org/SDL_sound/"
license=('LGPL')
depends=('libmodplug' 'sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
2010-03-14 23:48:48 +08:00
options=('!libtool')
source=("http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz"
'flac.patch')
2010-03-14 23:48:48 +08:00
md5sums=('aa09cd52df85d29bee87a664424c94b5'
'302aa9dc94cc71dd3339ca3177d36e1c')
build() {
cd ${srcdir}/SDL_sound-${pkgver}
CFLAGS="$CFLAGS -I/usr/include/smpeg" \
CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/SDL_sound-${pkgver}
2010-03-14 23:48:48 +08:00
make DESTDIR=${pkgdir} install
}