From fa16d2f09bc61c6452749c2715ef4a02d3104d1b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 22:17:53 +0000 Subject: user/perl-module-runtime-conflicts: new package --- user/perl-module-runtime-conflicts/APKBUILD | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-module-runtime-conflicts/APKBUILD (limited to 'user/perl-module-runtime-conflicts/APKBUILD') diff --git a/user/perl-module-runtime-conflicts/APKBUILD b/user/perl-module-runtime-conflicts/APKBUILD new file mode 100644 index 000000000..2fdca3cf1 --- /dev/null +++ b/user/perl-module-runtime-conflicts/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-module-runtime-conflicts +pkgver=0.003 +pkgrel=0 +pkgdesc="Provides information on conflicts for Module::Runtime" +url="https://metacpan.org/release/Module-Runtime-Conflicts" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-dist-checkconflicts perl-module-runtime" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Runtime-Conflicts-$pkgver.tar.gz" +builddir="$srcdir/Module-Runtime-Conflicts-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="1b72ea7cc9516721290d5ea433169697b4134b5fc77872d6822e4c395a154bf956d469ab5da2802d587d60dfb13b9784014fe492988cf3f8b5820da2d63e8ca1 Module-Runtime-Conflicts-0.003.tar.gz" -- cgit v1.2.3-70-g09d2