#Packager: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname='perl-mime-charset'
_dist="MIME-Charset"
pkgver='1.012.2'
pkgrel=1dj
source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz")
docs=("ARTISTIC" "Changes" "COPYING" "README")
url='https://metacpan.org/release/MIME-Charset'

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"perl-MIME-Charset (Charset Information)"
"This package ships mainly perl module MIME::Charset"
"MIME::Charset provides informations about character sets used for"
"MIME messages on Internet."
"Documentation: man MIME::Charset"
"Documentation in Japanese: man POD2::JA::MIME::Charset"
)


build() {
	cd "${SRC}/${_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
    make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg
} 
