🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425
pkgname: unittestpp
pkgver: '2.0.0'
pkgrel: '3'
pkgdesc: Lightweight unit testing framework for C++
url: 'https://github.com/unittest-cpp/unittest-cpp/'
arch: x86_64
depends: []
makedepends:
- cmake
source:
- 'https://github.com/unittest-cpp/unittest-cpp/archive/v${pkgver}.tar.gz'
sha256sums:
- 74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9
build: |
cd unittest-cpp-${pkgver}
mkdir -pv build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make all
make DESTDIR=${PKGDIR} install
sed -i s/^Version:$/Version: 2.0.0/ ${PKGDIR}/usr/lib/pkgconfig/UnitTest++.pc 2>/dev/null || true
package: |
true