From 7f522bca496d41ea929a0bb0346cc2418dbebf9d Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sat, 5 Feb 2011 00:18:14 -0800
Subject: wavpack:bumped to latest

---
 abs/extra/wavpack/PKGBUILD | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/abs/extra/wavpack/PKGBUILD b/abs/extra/wavpack/PKGBUILD
index c0ab01a..87e19c3 100644
--- a/abs/extra/wavpack/PKGBUILD
+++ b/abs/extra/wavpack/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 3456 2008-06-22 19:29:25Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 69146 2010-02-18 00:37:49Z dgriffiths $
+# Maintainer: François Charette <firmicus ατ gmx δοτ net> 
 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
 # Contributor: Michal Hybner <dta081@gmail.com>
 pkgname=wavpack
-pkgver=4.50.0
+pkgver=4.60.1
 pkgrel=1
-pkgdesc="A completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode"
+pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
 arch=('i686' 'x86_64')
 url="http://www.wavpack.com/"
 license=('custom')
 depends=('glibc')
 options=('!libtool')
 source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('9cf854fc2e5757f6534a3a231ec6bfbc')
+md5sums=('7bb1528f910e4d0003426c02db856063')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-mmx --disable-static || return 1
-  make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
-  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
-  rm -f ${startdir}/pkg/usr/lib/*.a
+	cd ${srcdir}/${pkgname}-${pkgver}
+	./configure --prefix=/usr --enable-mmx --disable-static || return 1
+	make || return 1
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	make DESTDIR=${pkgdir} install || return 1
+	install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+	install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+	rm -f ${pkgdir}/usr/lib/*.a
 }
-- 
cgit v0.12

