OCaml 4.14.0 rebuild
[arch-packages.git] / perl-mime-charset / trunk / PKGBUILD
blob42e31812740ed4d7b57a669c0e42ffd9024d18e3
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator  : CPANPLUS::Dist::Arch 1.32
5 pkgname='perl-mime-charset'
6 _dist="MIME-Charset"
7 pkgver='1.012.2'
8 pkgrel=9
9 pkgdesc="Charset Information for MIME"
10 arch=('any')
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl')
14 checkdepends=('perl-test-pod')
15 url='https://metacpan.org/release/MIME-Charset'
16 source=("https://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz")
17 md5sums=('71440416376248c31aa3bef753fae28d')
18 sha512sums=('2273bf0b86eb042e5aa8bcf958eefefde7dce6701eea5ae8c0fe9997e7d3e90d837a7791ade30f84536a15116175c796daee60da6625f409d214844dfedfde4d')
20 build() {
21     cd "${srcdir}/${_dist}-${pkgver}"
22     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
23     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
24     perl Makefile.PL
25     make
28 check() {
29     cd "${srcdir}/${_dist}-${pkgver}"
30     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
31     export PERL_MM_USE_DEFAULT=1
32     make test
35 package() {
36     cd "${srcdir}/${_dist}-${pkgver}"
37     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
38     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"