Files
extra/cppunit/PKGBUILD
2025-06-22 20:39:04 -05:00

32 lines
816 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=cppunit
pkgver=1.15.1
pkgrel=1
pkgdesc='A C++ unit testing framework'
arch=('i686' 'x86_64')
url='https://www.freedesktop.org/wiki/Software/cppunit'
license=('LGPL-2.1')
depends=('sh' 'gcc-libs')
makedepends=('doxygen')
options=('!emptydirs')
source=(https://deb.debian.org/debian/pool/main/c/cppunit/cppunit_${pkgver}.orig.tar.gz)
sha512sums=('0feb47faec451357bb4c4e287efa17bb60fd3ad966d5350e9f25b414aaab79e94921024b0c0497672f8d3eeb22a599213d2d71d9e1d28b243b3e37f3a9a43691')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
}