community/unittestpp to 1.4-7

This commit is contained in:
Kevin Mihelich 2015-06-10 13:54:53 +00:00
parent 9742e9dc15
commit eaa9fde3b6

View file

@ -9,27 +9,27 @@
pkgname=unittestpp
pkgver=1.4
pkgrel=6
pkgrel=7
pkgdesc="A lightweight unit testing framework for C++"
arch=('i686' 'x86_64')
url="http://unittest-cpp.sourceforge.net/"
depends=('gcc-libs')
source=("http://downloads.sourceforge.net/project/unittest-cpp/UnitTest%2B%2B/$pkgver/unittest-cpp-$pkgver.zip"
source=("https://github.com/unittest-cpp/unittest-cpp/archive/v${pkgver}.tar.gz"
'unittest++.pc'
'20_test_runner_bad_virtual_method_arg.dpatch')
md5sums=('bd373a53403ed51ea1bbb60b1952d7e3'
md5sums=('f571c054bf6840c9a981a3e9862b5363'
'fa35c8a0274264dcb75e5106c5b3deb7'
'b2721cb13e8e74143d05662eba0d97f8')
license=('MIT')
options=('staticlibs')
prepare() {
cd "${srcdir}/UnitTest++"
cd "${srcdir}/unittest-cpp-${pkgver}"
patch -p1 -i ../20_test_runner_bad_virtual_method_arg.dpatch
}
build() {
cd "${srcdir}/UnitTest++"
cd "${srcdir}/unittest-cpp-${pkgver}"
make all
}
@ -37,7 +37,7 @@ package() {
install -dm755 "${pkgdir}/usr/lib/pkgconfig"
install -m644 unittest++.pc "${pkgdir}/usr/lib/pkgconfig"
cd "${srcdir}/UnitTest++"
cd "${srcdir}/unittest-cpp-${pkgver}"
install -dm755 "${pkgdir}/usr/include/unittest++/Posix"
install -m644 src/*.h "${pkgdir}/usr/include/unittest++"