diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 22:17:53 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 22:17:53 +0000 |
commit | fa16d2f09bc61c6452749c2715ef4a02d3104d1b (patch) | |
tree | 7f46f977347c2d47fcbc96b75c744f3d23e3cdb8 /user/perl-module-runtime-conflicts/APKBUILD | |
parent | 12eaefac8bfa113cf46927ac2cb91f3a4eb9610f (diff) | |
download | packages-fa16d2f09bc61c6452749c2715ef4a02d3104d1b.tar.gz packages-fa16d2f09bc61c6452749c2715ef4a02d3104d1b.tar.bz2 packages-fa16d2f09bc61c6452749c2715ef4a02d3104d1b.tar.xz packages-fa16d2f09bc61c6452749c2715ef4a02d3104d1b.zip |
user/perl-module-runtime-conflicts: new package
Diffstat (limited to 'user/perl-module-runtime-conflicts/APKBUILD')
-rw-r--r-- | user/perl-module-runtime-conflicts/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +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" |