# Maintainer: Chocobo1 pkgname=cunit-svn pkgver=r170 pkgrel=2 pkgdesc="A unit testing framework for C" arch=('i686' 'x86_64') url="https://cunit.sourceforge.net/" license=('LGPL') depends=('glibc') makedepends=('subversion' 'libtool') provides=("cunit=$pkgver") conflicts=('cunit') options=('staticlibs') source=("svn+https://svn.code.sf.net/p/cunit/code/trunk") sha256sums=('SKIP') pkgver() { cd "trunk" _rev="$(svnversion | sed 's/[^0-9]+//')" printf "r%s" "$_rev" } build() { cd "trunk" ./bootstrap ./configure \ --prefix="/usr" make } check() { cd "trunk" make check } package() { cd "trunk" make DESTDIR="$pkgdir" install }