From db5b09675fdd843f31a2d997ed28c58b42deb3ad Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 12 Nov 2010 21:57:58 +0000
Subject: libao: upgrade to latest

---
 abs/core/libao/PKGBUILD   | 31 +++++++++++++++++++------------
 abs/core/libao/libao.conf |  1 -
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/abs/core/libao/PKGBUILD b/abs/core/libao/PKGBUILD
index af18def..43cfe18 100644
--- a/abs/core/libao/PKGBUILD
+++ b/abs/core/libao/PKGBUILD
@@ -1,25 +1,32 @@
-# $Id: PKGBUILD 8727 2008-08-16 04:47:00Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 82932 2010-06-19 13:31:58Z ibiru $
+# Maintainer:
+# Contributor: dorphell <dorphell@archlinux.org>
+
 pkgname=libao
-pkgver=0.8.8
+pkgver=1.0.0
 pkgrel=2
-pkgdesc="Cross-platform audio output library and plugins"
+pkgdesc="A cross-platform audio output library and plugins"
 url="http://www.xiph.org/ao"
-arch=(i686 x86_64)
+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')
+source=("http://downloads.xiph.org/releases/ao/${pkgname}-${pkgver}.tar.gz"
+	'libao.conf')
+md5sums=('08283fbe1f587619053a156254afecec'
+         '3ae8f3e3f1492210b3519af0f1f3c572')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-alsa09 --disable-arts
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
 
   # Add conf file
-  install -Dm0644 $startdir/src/libao.conf $startdir/pkg/etc/libao.conf
+  install -Dm0644 ${srcdir}/libao.conf ${pkgdir}/etc/libao.conf || return 1
 }
diff --git a/abs/core/libao/libao.conf b/abs/core/libao/libao.conf
index ce0bfe4..c4eb5cd 100644
--- a/abs/core/libao/libao.conf
+++ b/abs/core/libao/libao.conf
@@ -1,2 +1 @@
 default_driver=alsa
-
-- 
cgit v0.12