blob: c85f33693a4ee33e2e64eabb5ec6021a6d65d741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Hanspeter Porner <dev@open-music-kontrllers.ch>
_pkgname=CUnit
_pkgver="2.1-3"
pkgname=cunit
pkgver=2.1.3
pkgrel=1
epoch=
pkgdesc="A Unit Testing Framework for C."
arch=(i686 x86_64 armv7h)
url="http://cunit.sourceforge.net"
license=('LGPL2.1')
groups=()
depends=('glibc')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://downloads.sourceforge.net/project/cunit/$_pkgname/$_pkgver/$_pkgname-$_pkgver.tar.bz2")
noextract=()
md5sums=('b5f1a9f6093869c070c6e4a9450cc10c')
validpgpkeys=()
prepare() {
cd "$_pkgname-$_pkgver"
}
build() {
cd "$_pkgname-$_pkgver"
./bootstrap
./configure \
--prefix=/usr \
--enable-test \
--enable-shared \
--enable-static
make
}
check() {
cd "$_pkgname-$_pkgver"
CUnit/Sources/Test/test_cunit
}
package() {
cd "$_pkgname-$_pkgver"
make DESTDIR="$pkgdir/" install
rm -r $pkgdir/usr/share/CUnit
mv $pkgdir/usr/doc $pkgdir/usr/share/
}
|