From 1e911572d9067c970873c9e4ccc063daabbb6468 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 10 May 2019 17:37:02 +0000 Subject: main/perl-module-runtime: merge with the community/perl-module-runtime we dont need have same package in both main and community --- main/perl-module-runtime/APKBUILD | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'main/perl-module-runtime/APKBUILD') diff --git a/main/perl-module-runtime/APKBUILD b/main/perl-module-runtime/APKBUILD index 8d60a21352..465d920b1f 100644 --- a/main/perl-module-runtime/APKBUILD +++ b/main/perl-module-runtime/APKBUILD @@ -1,25 +1,31 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista +# Contributor: Francesco Colista +# Maintainer: Francesco Colista pkgname=perl-module-runtime _pkgreal=Module-Runtime pkgver=0.016 -pkgrel=1 -pkgdesc="Runtime module handling" +pkgrel=2 +pkgdesc="runtime module handling" url="http://search.cpan.org/dist/Module-Runtime/" arch="noarch" license="GPL PerlArtistic" -cpandepends="perl-params-classify" -depends="$cpandepends perl-module-build" -makedepends="perl-dev" -checkdepends="perl-test-pod perl-test-pod-coverage" +cpandepends="" +cpanmakedepends="perl-test-pod perl-test-pod-coverage perl-module-build" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" +check() { + cd "$builddir" + ./Build test +} + prepare() { cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor } @@ -29,14 +35,9 @@ build() { ./Build } -check() { - cd "$builddir" - ./Build test -} - package() { cd "$builddir" - ./Build install destdir="$pkgdir" + ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -- cgit v1.2.3