From 16388a3d50a99b106b982d6d0d0849f716720c1c Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 23:39:58 +0000
Subject: audiofile: upgrade

---
 abs/core/audiofile/PKGBUILD | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/abs/core/audiofile/PKGBUILD b/abs/core/audiofile/PKGBUILD
index ca3fd82..501497f 100644
--- a/abs/core/audiofile/PKGBUILD
+++ b/abs/core/audiofile/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 78833 2010-04-28 13:14:52Z jgc $
 # Maintainer: dorphell <dorphell@archlinux.org>
 pkgname=audiofile
-pkgver=0.2.6
-pkgrel=3
+pkgver=0.2.7
+pkgrel=1
 pkgdesc="Silicon Graphics Audio File Library"
+arch=('i686' 'x86_64')
 url="http://www.68k.org/~michael/audiofile/"
-arch=('i686')
-depends=(glibc)
-source=( http://altruistic.lbl.gov/mirrors/gnome/platform/2.7/2.7.2/sources/audiofile-0.2.6.tar.gz
-	aclocal-fixes.patch)
-md5sums=(9c1049876cd51c0f1b12c2886cce4d42 a4c04c757d6b0a049c6fce6b64e9a17b)
+license=('LGPL')
+depends=('glibc')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.2/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('61efd278627415b5468426fc9e52aef32ea0fdac12b56bcdd72734c2ece5945e')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+}
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
 }
-- 
cgit v0.12

