Date: Thursday, June 8, 2017 @ 20:17:10 Author: heftig Revision: 235468
1.17.2-1 Modified: lib32-openal/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-08 20:02:25 UTC (rev 235467) +++ PKGBUILD 2017-06-08 20:17:10 UTC (rev 235468) @@ -3,8 +3,7 @@ # Contributor: Allan McRae <[email protected]> # Contributor: Jason Chu <[email protected]> -_pkgbasename=openal -pkgname=lib32-$_pkgbasename +pkgname=lib32-openal pkgver=1.17.2 pkgrel=1 pkgdesc="A cross-platform 3D audio library (32-bit)" @@ -11,14 +10,16 @@ arch=(x86_64) url="http://www.openal.org/" license=(LGPL) -depends=(lib32-glibc $_pkgbasename) +depends=(lib32-glibc openal) makedepends=(lib32-alsa-lib pkgconfig cmake lib32-libpulse lib32-portaudio lib32-jack git gcc-multilib) -source=("git+https://github.com/kcat/openal-soft#tag=openal-soft-$pkgver") +_commit=61e43d4039277c538f3f6e0af7c988e7d71d8558 # tags/openal-soft-1.18.0 +source=("git+https://github.com/kcat/openal-soft#commit=$_commit") sha256sums=('SKIP') prepare() { mkdir build + cd openal-soft } build() { @@ -27,11 +28,11 @@ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" cd build - cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D LIB_SUFFIX=32 ../openal-soft + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_LIBDIR=lib32 ../openal-soft make } package() { - make -C build DESTDIR="$pkgdir/" install - rm -rf "$pkgdir"/usr/{include,share,bin} + make -C build DESTDIR="$pkgdir" install + rm -rv "$pkgdir"/usr/{include,share,bin} }
