summaryrefslogtreecommitdiff
path: root/extra/libao/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/libao/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/libao/PKGBUILD')
-rw-r--r--extra/libao/PKGBUILD47
1 files changed, 22 insertions, 25 deletions
diff --git a/extra/libao/PKGBUILD b/extra/libao/PKGBUILD
index 8107c96b2..c2e9cebc4 100644
--- a/extra/libao/PKGBUILD
+++ b/extra/libao/PKGBUILD
@@ -1,42 +1,39 @@
-# $Id: PKGBUILD 110917 2011-02-23 07:11:30Z schiv $
-# Maintainer:
+# $Id: PKGBUILD 149069 2012-02-05 16:27:23Z bisson $
# Contributor: dorphell <dorphell@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=libao
pkgver=1.1.0
-pkgrel=1
-pkgdesc="A cross-platform audio output library and plugins"
-url="http://www.xiph.org/ao"
+pkgrel=2
+pkgdesc='Cross-platform audio output library and plugins'
+url='http://xiph.org/ao/'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('glibc' 'alsa-lib')
+options=('!libtool')
+depends=('alsa-lib')
makedepends=('libpulse')
backup=('etc/libao.conf')
-options=('!libtool')
-conflicts=('libao-pulse')
-provides=('libao-pulse=$pkgver-$pkgrel')
-replaces=('libao-pulse')
source=("http://downloads.xiph.org/releases/ao/${pkgname}-${pkgver}.tar.gz"
'libao.conf')
-md5sums=('2b2508c29bc97e4dc218fa162cf883c8'
- '3ae8f3e3f1492210b3519af0f1f3c572')
+sha1sums=('9301bc4886f170c7122ab62677fb71cf001c04fd'
+ '558b3d297e0956af6959565db477023dbd492ca0')
+
+conflicts=('libao-pulse')
+provides=("libao-pulse=${pkgver}-${pkgrel}")
+replaces=('libao-pulse')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-alsa-mmap \
- ./configure --prefix=/usr \
- --enable-alsa09-mmap \
- --enable-pulseaudio
- make
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # Add conf file
- install -Dm644 "$srcdir/libao.conf" "$pkgdir/etc/libao.conf"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 "${srcdir}"/libao.conf "${pkgdir}"/etc/libao.conf
}
-
-# vim:set ts=2 sw=2 et: