core/libao/PKGBUILD
2010-05-17 07:50:50 +00:00

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
}