[arch-commits] Commit in lib32-openal/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jun 8 20:28:27 UTC 2017
Date: Thursday, June 8, 2017 @ 20:28:26
Author: heftig
Revision: 235472
archrelease: copy trunk to multilib-x86_64
Added:
lib32-openal/repos/multilib-x86_64/PKGBUILD
(from rev 235471, lib32-openal/trunk/PKGBUILD)
Deleted:
lib32-openal/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-08 20:20:34 UTC (rev 235471)
+++ PKGBUILD 2017-06-08 20:28:26 UTC (rev 235472)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Jason Chu <jchu at xentac.net>
-
-_pkgbasename=openal
-pkgname=lib32-$_pkgbasename
-pkgver=1.17.2
-pkgrel=1
-pkgdesc="A cross-platform 3D audio library (32-bit)"
-arch=(x86_64)
-url="http://www.openal.org/"
-license=(LGPL)
-depends=(lib32-glibc $_pkgbasename)
-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")
-sha256sums=('SKIP')
-
-prepare() {
- mkdir build
-}
-
-build() {
- export CC="gcc -m32"
- export CXX="g++ -m32"
- 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
- make
-}
-
-package() {
- make -C build DESTDIR="$pkgdir/" install
- rm -rf "$pkgdir"/usr/{include,share,bin}
-}
Copied: lib32-openal/repos/multilib-x86_64/PKGBUILD (from rev 235471, lib32-openal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-08 20:28:26 UTC (rev 235472)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=lib32-openal
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="A cross-platform 3D audio library (32-bit)"
+arch=(x86_64)
+url="http://www.openal.org/"
+license=(LGPL)
+depends=(lib32-glibc openal)
+makedepends=(lib32-alsa-lib pkgconfig cmake lib32-libpulse lib32-portaudio lib32-jack
+ git gcc-multilib)
+_commit=61e43d4039277c538f3f6e0af7c988e7d71d8558 # tags/openal-soft-1.18.0
+source=("git+https://github.com/kcat/openal-soft#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd openal-soft
+ git describe --tags | sed 's/^openal-soft-//;s/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd openal-soft
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd build
+ 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 -rv "$pkgdir"/usr/{include,share,bin}
+}
More information about the arch-commits
mailing list