diff options
Diffstat (limited to 'user/perl-io-interactive/APKBUILD')
-rw-r--r-- | user/perl-io-interactive/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 <sheila@vulpine.house> +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" |