summaryrefslogtreecommitdiff
path: root/extra/cppunit/PKGBUILD
blob: a5e98d62fc4c74a714b7a9db7684e72263246dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 146794 2012-01-18 13:02:35Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>

pkgname=cppunit
pkgver=1.12.1
pkgrel=4
pkgdesc="A C++ unit testing framework"
arch=('i686' 'x86_64')
url="http://cppunit.sourceforge.net"
license=('LGPL')
depends=('sh' 'gcc-libs')
options=('!libtool' '!emptydirs')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('f1ab8986af7a1ffa6760f4bacf5622924639bf4a')

build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   export LDFLAGS+=" -ldl"
   ./configure --prefix=/usr
   make
}

package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
}