From f716a43801a2440a45dfc7c9bf3645dc44d615b9 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 3 Dec 2014 19:41:43 +0000
Subject: cdparanoia: update

---
 abs/core/cdparanoia/PKGBUILD | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/abs/core/cdparanoia/PKGBUILD b/abs/core/cdparanoia/PKGBUILD
index 05bf098..58e41f2 100644
--- a/abs/core/cdparanoia/PKGBUILD
+++ b/abs/core/cdparanoia/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 149332 2012-02-06 20:43:48Z stephane $
-# Maintainer:
-# Contributor: Alexander Fehr <pizzapunk gmail com>
+# $Id$
+# Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=cdparanoia
 pkgver=10.2
-pkgrel=4
+pkgrel=5
 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')
-md5sums=('b304bbe8ab63373924a744eac9ebc652'
-         '12da14958d2b84c6719fe69890436445')
+options=('!makeflags' '!staticlibs')
+source=(http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz
+        gcc.patch)
+sha1sums=('1901e20d3a370ca6afa4c76a9ef30d3f03044320'
+          '67faaf0e3eed2e3de6f66d8168604bc6c7295921')
 
-build() {
+prepare() {
   cd "${srcdir}/${pkgname}-III-${pkgver}"
   patch -p0 -i ${srcdir}/gcc.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-III-${pkgver}"
   ./configure --prefix=/usr --mandir=/usr/share/man
   make
 }
-- 
cgit v0.12

