1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
6 pkgdesc="Unit-testing framework for all .NET languages."
9 url="http://www.nunit.com"
14 http://launchpad.net/nunitv2/$_branch/$pkgver/+download/NUnit-$pkgver.$_build.zip)
15 md5sums=('7bf17d38092de3f5bcd5fd96dbef0c62'
16 '8ea9a359d08d1b6e8ed908a54b352f8b')
19 mkdir -p $startdir/pkg/usr/{bin/,share/{doc/$pkgname/{files/,img/},licenses/$pkgname/}} \
21 mkdir -p $startdir/pkg/usr/lib/$pkgname/{framework,lib,tests} || return 1
22 install -m755 nunit.sh $startdir/pkg/usr/bin/nunit || return 1
23 cd "$startdir/src/NUnit-$pkgver.$_build" || return 1
24 install -m644 bin/net-2.0/*.{conf,bat,exe,config,nunit,dll,html} \
25 $startdir/pkg/usr/lib/$pkgname || return 1
26 install -m644 bin/net-2.0/framework/* \
27 $startdir/pkg/usr/lib/$pkgname/framework || return 1
28 install -m644 bin/net-2.0/lib/* $startdir/pkg/usr/lib/$pkgname/lib || return 1
29 install -m644 bin/net-2.0/tests/* $startdir/pkg/usr/lib/$pkgname/tests || return 1
30 install -m644 license.txt $startdir/pkg/usr/share/licenses/$pkgname/ || return 1
31 install -m644 doc/*.{js,ico,css,html} $startdir/pkg/usr/share/doc/$pkgname/ || return 1
32 install -m644 doc/files/* $startdir/pkg/usr/share/doc/$pkgname/files || return 1
33 install -m644 doc/img/* $startdir/pkg/usr/share/doc/$pkgname/img || return 1