# Contribution from Arch: # Maintainer: Daniel Milde # Contributor: Danibspi danibspi gmail com pkgname=bcunit pkgver=3.0.2 pkgrel=1 pkgdesc="Lightweight system for writing, administering, and running unit tests in C" arch=(x86_64) url="https://github.com/BelledonneCommunications/bcunit" license=('LGPL2') depends=() source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz") sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f') build() { cd "$srcdir/bcunit-${pkgver}" [ -x configure ] || ./autogen.sh ./configure --prefix=/usr make } package() { cd "$srcdir/bcunit-${pkgver}" make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc }