From 48698a8c4390458603042e695eab2728fc1e6e22 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Wed, 4 May 2022 05:10:12 +0000 Subject: user/perl-io-interactive: new package --- user/perl-io-interactive/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 user/perl-io-interactive/APKBUILD diff --git a/user/perl-io-interactive/APKBUILD b/user/perl-io-interactive/APKBUILD new file mode 100644 index 000000000..f02414bc6 --- /dev/null +++ b/user/perl-io-interactive/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Síle Ekaterin Liszka +pkgname=perl-io-interactive +pkgver=1.023 +pkgrel=0 +pkgdesc="Utilities for interactive I/O" +url="https://metacpan.org/pod/IO::Interactive" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/IO-Interactive-$pkgver.tar.gz" +builddir="$srcdir/IO-Interactive-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="82899c09adaf3699d5640b78bfbd5201972cf4c47ae90f7c6d6da9fc1f4470abc1bc5898b904c501d567537dc19f781febd7f05d0c06e60f1c193cf33abfb47f IO-Interactive-1.023.tar.gz" -- cgit v1.2.3-70-g09d2