# Maintainer: Rémy Oudompheng <remy@archlinux.org>
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-mime-charset'
_dist="MIME-Charset"
pkgver='1.013.1'
pkgrel=2
pkgdesc="Charset Information for MIME"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
#checkdepends=('perl-test-pod')
url='https://metacpan.org/release/MIME-Charset'
source=("https://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz")
md5sums=('b1932cfc806c8deb1b4a20d6afbfa8ac')
sha256sums=('1bb7a6e0c0d251f23d6e60bf84c9adefc5b74eec58475bfee4d39107e60870f0')
build() {
cd "${srcdir}/${_dist}-${pkgver}"
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
perl Makefile.PL
make
}
#check() {
# cd "${srcdir}/${_dist}-${pkgver}"
# unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
# export PERL_MM_USE_DEFAULT=1
# make test
#}
package() {
cd "${srcdir}/${_dist}-${pkgver}"
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}