mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/perl-test-toolbox: modernize APKBUILD
This commit is contained in:
parent
703b020b15
commit
086b1f81ad
@ -2,12 +2,11 @@
|
||||
pkgname=perl-test-toolbox
|
||||
_pkgreal=Test-Toolbox
|
||||
pkgver=0.4
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Tools for testing"
|
||||
url="http://search.cpan.org/dist/Test-Toolbox/"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
options="!check"
|
||||
depends="perl"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
@ -23,7 +22,12 @@ prepare() {
|
||||
build() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
make && make test
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
Reference in New Issue
Block a user