pkgname=unittestpp pkgver=1.6.1 pkgrel=1 pkgdesc="A lightweight unit testing framework for C++" arch=('x86_64') url="http://unittest-cpp.sourceforge.net/" license=('MIT') depends=('gcc-libs') makedepends=('cmake') options=('staticlibs') source=("$pkgname-$pkgver::https://github.com/unittest-cpp/unittest-cpp/archive/v${pkgver}.tar.gz" 'unittest++.pc') sha1sums=('7ea23c4f2f1efd75e091ac8900571e8a7e47e4f4' '585f1e2348dffffd2168369890453c011e80a5e3') build() { cd unittest-cpp-$pkgver cmake . \ -DCMAKE_INSTALL_PREFIX=/usr make all } package() { install -dm755 "${pkgdir}/usr/lib/pkgconfig" install -m644 unittest++.pc "${pkgdir}/usr/lib/pkgconfig" cd unittest-cpp-$pkgver make DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }