Browse Source

cunit: added to repo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 5 years ago
parent
commit
2c570a9366
No known key found for this signature in database GPG Key ID: 7EACB44BA7B30DB9
  1. 34
      cunit/PKGBUILD

34
cunit/PKGBUILD

@ -0,0 +1,34 @@
# Maintainer: Daniel Milde <daniel at milde dot cz>
# Contributor: Danibspi danibspi <at> gmail <dot> com
pkgname=cunit
pkgver=2.1.3
pkgrel=3
pkgdesc="Lightweight system for writing, administering, and running unit tests in C"
arch=(i686 x86_64 armv6h armv7h)
url="http://cunit.sourceforge.net/"
license=('LGPL2')
depends=('glibc')
options=('!libtool')
source=(https://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2)
sha256sums=('f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214')
build() {
cd "$srcdir/CUnit-2.1-3"
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=/usr
make || return 1
}
package() {
cd "$srcdir/CUnit-2.1-3"
make DESTDIR="$pkgdir" install
mv $pkgdir/usr/doc $pkgdir/usr/share/doc
}
Loading…
Cancel
Save