From d789dde00650f922e4a878ad4d4b80cc85dee10b Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 17:31:41 -0500
Subject: cdparanoia   10.2

---
 abs/core/cdparanoia/ChangeLog | 18 ------------------
 abs/core/cdparanoia/PKGBUILD  | 26 +++++++++++++++++---------
 2 files changed, 17 insertions(+), 27 deletions(-)
 delete mode 100644 abs/core/cdparanoia/ChangeLog

diff --git a/abs/core/cdparanoia/ChangeLog b/abs/core/cdparanoia/ChangeLog
deleted file mode 100644
index f1873ff..0000000
--- a/abs/core/cdparanoia/ChangeLog
+++ /dev/null
@@ -1,18 +0,0 @@
-2008-08-07  Alexander Fehr  <pizzapunk gmail com>
-
-  * cdparanoia-10.1-1:
-  New upstream release.
-  Changed license to GPL.
-  Added !makeflags option.
-
-2008-07-07  Alexander Fehr  <pizzapunk gmail com>
-
-  * cdparanoia-10.0-1:
-  New upstream release.
-  New maintainer.
-  Added arch variable.
-  Changed license to GPL3.
-  Fixed man page location.
-  Removed cdparanoia.patch.
-  Removed gcc34.patch.
-  Added ChangeLog.
diff --git a/abs/core/cdparanoia/PKGBUILD b/abs/core/cdparanoia/PKGBUILD
index 0e60bd4..05bf098 100644
--- a/abs/core/cdparanoia/PKGBUILD
+++ b/abs/core/cdparanoia/PKGBUILD
@@ -1,21 +1,29 @@
-# $Id: PKGBUILD 13080 2008-09-25 21:49:25Z pierre $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# $Id: PKGBUILD 149332 2012-02-06 20:43:48Z stephane $
+# Maintainer:
+# Contributor: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=cdparanoia
 pkgver=10.2
-pkgrel=2
+pkgrel=4
 pkgdesc="Compact Disc Digital Audio extraction tool"
 arch=('i686' 'x86_64')
 url="http://www.xiph.org/paranoia/"
 license=('GPL')
 depends=('glibc')
 options=('!makeflags')
-source=(http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz gcc.patch)
+source=("http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz"
+        'gcc.patch')
+md5sums=('b304bbe8ab63373924a744eac9ebc652'
+         '12da14958d2b84c6719fe69890436445')
 
 build() {
-  cd "$srcdir/cdparanoia-III-$pkgver"
-  patch -p0 -i ${srcdir}/gcc.patch || return 1
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make prefix="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install || return 1
+  cd "${srcdir}/${pkgname}-III-${pkgver}"
+  patch -p0 -i ${srcdir}/gcc.patch
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-III-${pkgver}"
+  make prefix="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
 }
-- 
cgit v0.12

