From 58e40c80ba0b97076fcd16d54602017420b1ad08 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 24 Nov 2010 02:43:33 +0000
Subject: libcddb: upgrade

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

diff --git a/abs/core/libcddb/PKGBUILD b/abs/core/libcddb/PKGBUILD
index 0435ab5..7031705 100644
--- a/abs/core/libcddb/PKGBUILD
+++ b/abs/core/libcddb/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 78167 2010-04-20 00:31:41Z dgriffiths $
+# Maintainer: Hugo Doria <hugo@archlinux.org>
 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
 
 pkgname=libcddb
-pkgver=1.3.0
-pkgrel=3
-pkgdesc="Libcddb is a library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
-arch=(i686 x86_64)
+pkgver=1.3.2
+pkgrel=2
+pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
+arch=('i686' 'x86_64')
 license=('LGPL')
 options=('!libtool')
 depends=('glibc')
-source=(http://heanet.dl.sourceforge.net/sourceforge/libcddb/${pkgname}-${pkgver}.tar.bz2)
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 url="http://sourceforge.net/projects/libcddb/"
-md5sums=('e4a7f9579956c32b7f300eb12e9ea6df')
+md5sums=('8bb4a6f542197e8e9648ae597cd6bc8a')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+}
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
 }
-- 
cgit v0.12

