summaryrefslogtreecommitdiff
path: root/user/perl-io-interactive/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 05:10:12 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commit48698a8c4390458603042e695eab2728fc1e6e22 (patch)
treeb80f9927b0dc4f3682344874577c59687f1c47cb /user/perl-io-interactive/APKBUILD
parent9a07e79c4954959866fa5474920cae5601a46f5f (diff)
downloadpackages-48698a8c4390458603042e695eab2728fc1e6e22.tar.gz
packages-48698a8c4390458603042e695eab2728fc1e6e22.tar.bz2
packages-48698a8c4390458603042e695eab2728fc1e6e22.tar.xz
packages-48698a8c4390458603042e695eab2728fc1e6e22.zip
user/perl-io-interactive: new package
Diffstat (limited to 'user/perl-io-interactive/APKBUILD')
-rw-r--r--user/perl-io-interactive/APKBUILD29
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"