Date: Saturday, July 7, 2012 @ 05:29:28 Author: andyrtr Revision: 163109
upgpkg: cppunit 1.13.0-1 upstream update 1.13.0; new url, add check function, disable static lib Modified: cppunit/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-07-07 07:20:57 UTC (rev 163108) +++ PKGBUILD 2012-07-07 09:29:28 UTC (rev 163109) @@ -3,24 +3,29 @@ # Contributor: Jeff 'codemac' Mickey <j...@archlinux.org> pkgname=cppunit -pkgver=1.12.1 -pkgrel=4 +pkgver=1.13.0 +pkgrel=1 +_hash=0c65c839854edd43d9294d1431a2b292 pkgdesc="A C++ unit testing framework" arch=('i686' 'x86_64') -url="http://cppunit.sourceforge.net" +url="http://www.freedesktop.org/wiki/Software/cppunit" license=('LGPL') depends=('sh' 'gcc-libs') options=('!libtool' '!emptydirs') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha1sums=('f1ab8986af7a1ffa6760f4bacf5622924639bf4a') +source=(http://dev-www.libreoffice.org/src/${_hash}-${pkgname}-${pkgver}.tar.gz) +md5sums=(${_hash}) build() { cd "${srcdir}/${pkgname}-${pkgver}" - export LDFLAGS+=" -ldl" - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-static make } +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install