From 1d0235314888dd084f2609930c2e1e345a10cf84 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 12 Nov 2010 21:57:36 +0000
Subject: vorbis-tools: update to latest

---
 abs/extra/vorbis-tools/PKGBUILD | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/abs/extra/vorbis-tools/PKGBUILD b/abs/extra/vorbis-tools/PKGBUILD
index 4428e6a..ae03d35 100644
--- a/abs/extra/vorbis-tools/PKGBUILD
+++ b/abs/extra/vorbis-tools/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Travis Willard <travis@archlinux.org>
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 77125 2010-04-10 21:21:48Z andrea $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
 
 pkgname=vorbis-tools
-pkgver=1.2.0
-pkgrel=3
+pkgver=1.4.0
+pkgrel=2
 pkgdesc="Extra tools for Ogg-Vorbis"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url='http://www.xiph.org/vorbis/'
-license=('GPL')
-depends=('libao' 'libvorbis' 'curl>=7.16.2' 'flac>=1.1.4')
-source=(http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz)
-md5sums=('df976d24e51ef3d87cd462edf747bf9a')
+license=('GPL2')
+depends=('libao' 'libvorbis' 'curl' 'flac')
+source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
+md5sums=('567e0fb8d321b2cd7124f8208b8b90e6')
 
-build() 
-{
-  cd $startdir/src/$pkgname-$pkgver
-  autoconf
-  ./configure --prefix=/usr --without-speex 
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+    --without-speex \
+    --enable-vcut || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
 }
 
-- 
cgit v0.12