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

Jan Steffens heftig at archlinux.org
Sun Nov 29 15:33:38 UTC 2015


    Date: Sunday, November 29, 2015 @ 16:33:38
  Author: heftig
Revision: 252050

fix FS#47136

Modified:
  openal/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-29 14:54:09 UTC (rev 252049)
+++ PKGBUILD	2015-11-29 15:33:38 UTC (rev 252050)
@@ -6,15 +6,17 @@
 pkgbase=openal
 pkgname=(openal openal-examples)
 pkgver=1.17.0
-pkgrel=1
+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 pkgconfig cmake libpulse qt4 fluidsynth portaudio jack sdl2 sdl_sound ffmpeg)
-source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2)
-md5sums=('0b7d1e79fd57e6c9827a3bbdc97f19b6')
+makedepends=(alsa-lib pkgconfig cmake libpulse qt4 fluidsynth portaudio jack sdl2 sdl_sound ffmpeg
+             git)
+_commit=63567526b0a17449baf57053d11688aa277a7e40
+source=("git+https://github.com/kcat/openal-soft#commit=$_commit")
+sha256sums=('SKIP')
 
 prepare() {
   mkdir build examples
@@ -22,7 +24,7 @@
 
 build() {
   cd build
-  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../$pkgbase-soft-$pkgver
+  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../$pkgbase-soft
   make
 }
 
@@ -31,7 +33,7 @@
               'fluidsynth: MIDI rendering')
 
   make -C build DESTDIR="$pkgdir/" install
-  install -m644 $pkgbase-soft-$pkgver/{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"
+  install -m644 $pkgbase-soft/{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"
 
 ### Split openal-examples
   mv "$pkgdir"/usr/bin/al{ffplay,latency,loopback,reverb,stream} examples/



More information about the arch-commits mailing list