blob: 79bac05cbaaff81c4e1f4b7b778d5fd4a377db6a (
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
28
29
30
31
32
|
# $Id: PKGBUILD 126261 2011-06-03 13:02:27Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
pkgname=cppunit
pkgver=1.12.1
pkgrel=3
pkgdesc="A C++ unit testing framework"
arch=('i686' 'x86_64' 'mips64el')
url="http://cppunit.sourceforge.net"
license=('LGPL')
depends=('sh' 'gcc-libs')
makedepends=('gcc')
options=('!libtool')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'gcc4.5.patch')
md5sums=('bd30e9cf5523cdfc019b94f5e1d7fd19'
'7f4e3b50fa1ee8bc854ab431848dddec')
build() {
cd "${srcdir}/$pkgname-$pkgver"
patch -Np1 -i ../gcc4.5.patch
autoreconf
libtoolize -f
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}
|