diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-04 05:10:12 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:40 +0000 |
commit | b559bc98f407e7af5c76b0fed5cc5c85245848fb (patch) | |
tree | 26912b76c45fee54bc7fa6d6de764b698331d30a /user/perl-io-interactive/APKBUILD | |
parent | 270b1ef8ff0e47da8c11c8c2c6025e73f80c8a45 (diff) | |
download | packages-b559bc98f407e7af5c76b0fed5cc5c85245848fb.tar.gz packages-b559bc98f407e7af5c76b0fed5cc5c85245848fb.tar.bz2 packages-b559bc98f407e7af5c76b0fed5cc5c85245848fb.tar.xz packages-b559bc98f407e7af5c76b0fed5cc5c85245848fb.zip |
user/perl-io-interactive: new package
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" |