From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/openal/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 extra/openal/PKGBUILD (limited to 'extra/openal/PKGBUILD') diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD new file mode 100644 index 000000000..86dbcc263 --- /dev/null +++ b/extra/openal/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 115848 2011-03-22 06:51:29Z heftig $ +# Maintainer: Allan McRae +# Contributer: Jason Chu + +pkgname=openal +pkgver=1.13 +pkgrel=1 +pkgdesc="OpenAL audio library for use with opengl" +arch=('i686' 'x86_64') +url="http://www.openal.org/" +license=('LGPL') +depends=('glibc') +makedepends=('alsa-lib' 'sdl' 'pkgconfig' 'cmake' 'libpulse') +options=('!libtool') +source=(http://kcat.strangesoft.net/openal-releases/openal-soft-${pkgver}.tar.bz2) +md5sums=('58b7d2809790c70681b825644c5f3614') + +build() { + cd ${srcdir}/${pkgname}-soft-${pkgver}/build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd ${srcdir}/${pkgname}-soft-${pkgver}/build + make DESTDIR=${pkgdir}/ install +} -- cgit v1.2.3-54-g00ecf