summaryrefslogtreecommitdiff
path: root/extra/cppunit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cppunit/PKGBUILD')
-rw-r--r--extra/cppunit/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/cppunit/PKGBUILD b/extra/cppunit/PKGBUILD
index b20bf3a07..936928cb9 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' 'mips64el')
-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