mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 21:57:22 +08:00
28 lines
789 B
Bash
28 lines
789 B
Bash
# $Id: PKGBUILD 77195 2010-04-11 12:37:15Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributer: Jason Chu <jchu@xentac.net>
|
|
|
|
pkgname=openal
|
|
pkgver=1.12.854
|
|
pkgrel=1
|
|
pkgdesc="OpenAL audio library for use with opengl"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.openal.org/"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('alsa-lib' 'sdl' 'pkgconfig' 'cmake')
|
|
options=('!libtool')
|
|
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-${pkgver}.tar.bz2)
|
|
md5sums=('fbf36451fdebd6466edbdc0ee7db9603')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
make DESTDIR=${pkgdir}/ install || return 1
|
|
}
|