archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-perlio-utf8-strict / repos / extra-x86_64 / PKGBUILD
blob512f686be468bfe1ff01825344936734e6f67b15
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
3 pkgname='perl-perlio-utf8-strict'
4 _dist=PerlIO-utf8_strict
5 pkgver=0.009
6 pkgrel=1
7 pkgdesc="Fast and correct UTF-8 PerlIO"
8 arch=('x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 makedepends=('perl-test-exception')
13 url="https://metacpan.org/release/${_dist}"
14 source=(https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_dist}-${pkgver}.tar.gz)
15 md5sums=('54811ae16ff5f1cbc50d0cfe88b2c372')
16 sha256sums=('ba82cf144820655d6d4836d12dde65f8895a3d905aeb4aa0b421249f43284c14')
18 build() {
19     cd "${srcdir}/${_dist}-${pkgver}"
20     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
21     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22     perl Makefile.PL
23     make
26 check() {
27     cd "${srcdir}/${_dist}-${pkgver}"
28     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
29     export PERL_MM_USE_DEFAULT=1
30     make test
33 package() {
34     cd "${srcdir}/${_dist}-${pkgver}"
35     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
36     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"