summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50cec2623dce3b812033693355e614d7d99948dd (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
# Maintainer: Steffen Weber <-boenki-gmx-de->
# Contributor: Juan Pablo Gonzalez Tognarelli <lord_jotape@yahoo.com.ar>

pkgname=cpptest
pkgver=1.1.2
pkgrel=2
pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++"
url="http://cpptest.sourceforge.net"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('79b9bff371d182f11a3235969f84ccb6')


build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$pkgname-$pkgver"
  make check
}

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