diff options
Diffstat (limited to 'community/perl-path-tiny/APKBUILD')
-rw-r--r-- | community/perl-path-tiny/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/perl-path-tiny/APKBUILD b/community/perl-path-tiny/APKBUILD index 6fd88adde3..ded5e18289 100644 --- a/community/perl-path-tiny/APKBUILD +++ b/community/perl-path-tiny/APKBUILD @@ -4,13 +4,13 @@ pkgname=perl-path-tiny _pkgreal=Path-Tiny pkgver=0.104 -pkgrel=0 +pkgrel=1 pkgdesc="File path utility" url="http://search.cpan.org/dist/Path-Tiny/" arch="noarch" license="apache_2_0" cpandepends="" -cpanmakedepends=" perl-test-mockrandom perl-test-failwarnings" +cpanmakedepends="perl-test-mockrandom perl-test-failwarnings" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.t builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,7 +28,12 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { |