mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 12:47:13 +08:00
24 lines
727 B
Bash
24 lines
727 B
Bash
# $Id: PKGBUILD 58774 2009-11-15 05:12:55Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributer: Jason Chu <jchu@xentac.net>
|
|
|
|
pkgname=openal
|
|
pkgver=1.10.622
|
|
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=('d6324d0e7a4fd799e48e720c023fe1c0')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir}/ install || return 1
|
|
}
|