blob: 43cfe18222164ef3f82affb56ab368ca9075e48d (
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
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 82932 2010-06-19 13:31:58Z ibiru $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=libao
pkgver=1.0.0
pkgrel=2
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')
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
}
|