summaryrefslogtreecommitdiffstats
path: root/abs/core/libao/PKGBUILD
blob: af18def483009df4990687d176e34db9cb05c7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 8727 2008-08-16 04:47:00Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=libao
pkgver=0.8.8
pkgrel=2
pkgdesc="Cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
arch=(i686 x86_64)
license=('GPL')
depends=('glibc' 'alsa-lib')
makedepends=('esd')
backup=('etc/libao.conf')
options=('!libtool')
source=(http://downloads.xiph.org/releases/ao/${pkgname}-${pkgver}.tar.gz libao.conf)
md5sums=('b92cba3cbcf1ee9bc221118a85d23dcd' '821a019116f928c582d2bbf537ffd9a7')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --enable-alsa09 --disable-arts
  make || return 1
  make DESTDIR=${startdir}/pkg install

  # Add conf file
  install -Dm0644 $startdir/src/libao.conf $startdir/pkg/etc/libao.conf
}