blob: 4dc2a822fc1ed5d94ced59806d5ddcca5961374a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-perlio-utf8_strict
_pkgreal=PerlIO-utf8_strict
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.009
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 OR GPL-1.0+"
depends="perl"
checkdepends="perl-test-exception"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="2431cd11fb48d5cc2897d994afcfebd3a2f394f59bd366e4ca930ac110696408791052ecbaec32bc0180a978c3e348306b92b96ba9cdeef5d06d6dced07c70b9 PerlIO-utf8_strict-0.009.tar.gz"
|