summaryrefslogblamecommitdiff
path: root/user/perl-io-interactive/APKBUILD
blob: 9306ad7476bce533d281544dd367fbd266964136 (plain) (tree)
1
2
3

                                                          
            
























                                                                                      
                                                                                                                                                                          
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-io-interactive
pkgver=1.025
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="b9aca9d3920ea256e5b2c3e19559e7626ab076b36b38b58eecf087d8a2614b805a0226246bf035eb41b801a0972dfb19e1c99d2f8105bd403db5017e84b6e2dc  IO-Interactive-1.025.tar.gz"