summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 03:48:29 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 03:50:45 +0000
commit032965bafbd297b9094ed06e69193ad7b67a7e35 (patch)
tree06f6deeb4cff542c35e4bce2a50071056210650d /user
parent25e35638657a449fe1b9948dbc481f4d1972e514 (diff)
downloadpackages-032965bafbd297b9094ed06e69193ad7b67a7e35.tar.gz
packages-032965bafbd297b9094ed06e69193ad7b67a7e35.tar.bz2
packages-032965bafbd297b9094ed06e69193ad7b67a7e35.tar.xz
packages-032965bafbd297b9094ed06e69193ad7b67a7e35.zip
user/perl-perlio-utf8_strict: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-perlio-utf8_strict/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-perlio-utf8_strict/APKBUILD b/user/perl-perlio-utf8_strict/APKBUILD
new file mode 100644
index 000000000..d3efd36ae
--- /dev/null
+++ b/user/perl-perlio-utf8_strict/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-perlio-utf8_strict
+pkgver=0.007
+pkgrel=0
+pkgdesc="Fast and correct UTF-8 I/O for Perl"
+url="https://metacpan.org/release/PerlIO-utf8_strict"
+arch="all"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+checkdepends="perl-test-exception"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-$pkgver.tar.gz"
+builddir="$srcdir/PerlIO-utf8_strict-$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="0d39be9bcbab4cea087f59c67dc1af6773b6258c5e836590ff58cc18bf3392ba6e95c55a0c7ce94236e0be7053802b4b1d6010130355e1a973a3698aaf49af0f PerlIO-utf8_strict-0.007.tar.gz"