aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/cunit/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/cunit/APKBUILD b/testing/cunit/APKBUILD
index 42bae8cffa..7433118af3 100644
--- a/testing/cunit/APKBUILD
+++ b/testing/cunit/APKBUILD
@@ -3,17 +3,17 @@
pkgname=cunit
_pkgname=CUnit
pkgver=2.1.3
-_pkgver=2.1-3
+_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
pkgdesc="Automated testing framework for C"
url="http://cunit.sourceforge.net/"
arch="all"
license="GPL2"
+options="!check"
makedepends="automake autoconf libtool bash"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/$pkgname/$_pkgname/$_pkgver/$_pkgname-$_pkgver.tar.bz2
-path-makefile.patch"
-
+ path-makefile.patch"
builddir="$srcdir/$_pkgname-$_pkgver"
prepare() {
@@ -27,7 +27,7 @@ prepare() {
build() {
cd "$builddir"
- default_prepare || return 1
+ default_prepare
./configure \
--prefix=/usr \
--includedir=/usr/include \
@@ -39,7 +39,7 @@ build() {
--enable-basic \
--enable-test \
--disable-static
- make || return 1
+ make
}
package() {