mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:27:16 +08:00
34 lines
846 B
Bash
34 lines
846 B
Bash
# $Id: PKGBUILD 77117 2010-04-10 21:05:19Z andrea $
|
|
# Maintainer:
|
|
# Contributor: dorphell <dorphell@archlinux.org>
|
|
|
|
pkgname=libao
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="A cross-platform audio output library and plugins"
|
|
url="http://www.xiph.org/ao"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
depends=('glibc' 'alsa-lib')
|
|
makedepends=('esound')
|
|
backup=('etc/libao.conf')
|
|
options=('!libtool')
|
|
source=("http://downloads.xiph.org/releases/ao/${pkgname}-${pkgver}.tar.gz"
|
|
'libao.conf')
|
|
md5sums=('08283fbe1f587619053a156254afecec'
|
|
'3ae8f3e3f1492210b3519af0f1f3c572')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# Add conf file
|
|
install -Dm0644 ${srcdir}/libao.conf ${pkgdir}/etc/libao.conf || return 1
|
|
}
|