aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/subunit/APKBUILD40
1 files changed, 14 insertions, 26 deletions
diff --git a/main/subunit/APKBUILD b/main/subunit/APKBUILD
index 340744bf62..1fd0c92f88 100644
--- a/main/subunit/APKBUILD
+++ b/main/subunit/APKBUILD
@@ -1,51 +1,39 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=subunit
-pkgver=1.1.0
+pkgver=1.2.0
pkgrel=0
pkgdesc="A streaming protocol for test results"
url="https://launchpad.net/subunit"
arch="all"
license="Apache BSD"
depends="python2"
-depends_dev=""
-makedepends="$depends_dev check-dev cppunit-dev perl-dev python2-dev"
-install=""
+makedepends="check-dev cppunit-dev perl-dev python2-dev"
+options="!check"
subpackages="$pkgname-dev $pkgname-libs"
-source="https://launchpad.net/subunit/trunk/$pkgver/+download/subunit-$pkgver.tar.gz"
+source="https://launchpad.net/subunit/trunk/${pkgver%.[0-9]}/+download/subunit-$pkgver.tar.gz"
+builddir="$srcdir"/subunit-$pkgver
-_builddir="$srcdir"/subunit-$pkgver
prepare() {
- local i
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ update_config_sub
}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
- --host=$CHOST \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
-
}
-md5sums="d1c5b2649047c1027d7054cb70039cca subunit-1.1.0.tar.gz"
-sha256sums="4869a5bec96b7b4e760d053f842d80548008740cda1a7efbb9053063ee818a51 subunit-1.1.0.tar.gz"
-sha512sums="11aaa8f2ae04232623fbfb7b9561aa15bddbc55201a3a16eea1319a076de3417977590c57bb7ab0bbd86b321b203241ba5ea8050932759aeb3f3ed71b723a98b subunit-1.1.0.tar.gz"
+sha512sums="f6559fd771ad0732985230d11a9a8326ef35c817b62d1f50dc332f0032f7b08559a46d2534983b7d3964e45682ac49b3e348581ee0983861390abcd4ec20459c subunit-1.2.0.tar.gz"