diff options
author | root <root@rshg047.dnsready.net> | 2011-06-27 23:06:15 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-27 23:06:15 +0000 |
commit | 0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (patch) | |
tree | 2cbc26bebf7171db78c67303e24ad6e80279f2d8 /extra/openal | |
parent | 715631caf52784c47c8ed3aeb6cbdba2715a08db (diff) |
Mon Jun 27 23:06:14 UTC 2011
Diffstat (limited to 'extra/openal')
-rw-r--r-- | extra/openal/PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD index 86dbcc263..0a3c8f1a2 100644 --- a/extra/openal/PKGBUILD +++ b/extra/openal/PKGBUILD @@ -1,27 +1,29 @@ -# $Id: PKGBUILD 115848 2011-03-22 06:51:29Z heftig $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id: PKGBUILD 129235 2011-06-26 06:15:14Z heftig $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Contributor: 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') +pkgrel=2 +pkgdesc="A cross-platform 3D audio library" +arch=(i686 x86_64) url="http://www.openal.org/" -license=('LGPL') -depends=('glibc') -makedepends=('alsa-lib' 'sdl' 'pkgconfig' 'cmake' 'libpulse') +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) +source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2) md5sums=('58b7d2809790c70681b825644c5f3614') build() { - cd ${srcdir}/${pkgname}-soft-${pkgver}/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 + cd "$srcdir/$pkgname-soft-$pkgver" + make -C build DESTDIR="$pkgdir/" install + install -Dm644 alsoftrc.sample "$pkgdir/etc/openal/alsoft.conf.sample" } |