summaryrefslogblamecommitdiff
path: root/user/perl-io-interactive/APKBUILD
blob: f02414bc689cefc8738e7043cd156b12d949e51a (plain) (tree)




























                                                                                                                                                                          
# 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"