# $Id: PKGBUILD 78833 2010-04-28 13:14:52Z jgc $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=audiofile
pkgver=0.2.7
pkgrel=1
pkgdesc="Silicon Graphics Audio File Library"
arch=('i686' 'x86_64')
url="http://www.68k.org/~michael/audiofile/"
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 "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
}