summaryrefslogtreecommitdiff
path: root/extra/openal/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/openal/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/openal/PKGBUILD')
-rw-r--r--extra/openal/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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 <allan@archlinux.org>
+# Contributer: Jason Chu <jchu@xentac.net>
+
+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
+}