mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/unittestpp to 1.4-7
This commit is contained in:
parent
9742e9dc15
commit
eaa9fde3b6
1 changed files with 6 additions and 6 deletions
|
@ -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++"
|
||||
|
|
Loading…
Reference in a new issue