diff options
Diffstat (limited to 'extra/cppunit')
-rw-r--r-- | extra/cppunit/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/cppunit/PKGBUILD b/extra/cppunit/PKGBUILD index a5e98d62f..988124454 100644 --- a/extra/cppunit/PKGBUILD +++ b/extra/cppunit/PKGBUILD @@ -1,26 +1,31 @@ -# $Id: PKGBUILD 146794 2012-01-18 13:02:35Z stephane $ +# $Id: PKGBUILD 163110 2012-07-07 09:30:05Z andyrtr $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Jeff 'codemac' Mickey <jeff@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 |