diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 02:10:24 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 02:10:24 +0000 |
commit | 5f5db7c836cdff947b9231616f8905f16d6bdd20 (patch) | |
tree | aaf6c72990246a3a79d4178a50f4de783065bfbb | |
parent | b46afb032ae713fb45783c30ed2d056d86b1df8a (diff) | |
download | packages-5f5db7c836cdff947b9231616f8905f16d6bdd20.tar.gz packages-5f5db7c836cdff947b9231616f8905f16d6bdd20.tar.bz2 packages-5f5db7c836cdff947b9231616f8905f16d6bdd20.tar.xz packages-5f5db7c836cdff947b9231616f8905f16d6bdd20.zip |
user/perl-io-all: new package
-rw-r--r-- | user/perl-io-all/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-io-all/APKBUILD b/user/perl-io-all/APKBUILD new file mode 100644 index 000000000..bfa29c999 --- /dev/null +++ b/user/perl-io-all/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-io-all +pkgver=0.87 +pkgrel=0 +pkgdesc="Simple Perl module for all I/O needs" +url="https://metacpan.org/release/IO-All" +arch="noarch" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/F/FR/FREW/IO-All-$pkgver.tar.gz" +builddir="$srcdir/IO-All-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="bd8cb6d44db51a9a140209223f016e48acd713ec03ced1b9c02933fd88c6363926635dae033b20905201b13e8186b8bcc3f428d4d85cd187fc68b777cd197267 IO-All-0.87.tar.gz" |