[arch-commits] Commit in openal/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Jun 26 06:15:14 UTC 2011


    Date: Sunday, June 26, 2011 @ 02:15:14
  Author: heftig
Revision: 129235

Add sample config, misc fixes

Modified:
  openal/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-26 05:46:42 UTC (rev 129234)
+++ PKGBUILD	2011-06-26 06:15:14 UTC (rev 129235)
@@ -1,27 +1,29 @@
 # $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
 # Contributer: Jason Chu <jchu at 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"
 }




More information about the arch-commits mailing list