diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-13 23:13:11 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-13 23:13:11 (GMT) |
commit | 2995b91a530bceedc88b16c5783ac05fccd1a568 (patch) | |
tree | 771e6120e3fe7f9f9939f40c1706741471b82a38 /abs/core | |
parent | 3f6347c181e6e839e4804845373a977676a0d113 (diff) | |
download | linhes_pkgbuild-2995b91a530bceedc88b16c5783ac05fccd1a568.zip linhes_pkgbuild-2995b91a530bceedc88b16c5783ac05fccd1a568.tar.gz linhes_pkgbuild-2995b91a530bceedc88b16c5783ac05fccd1a568.tar.bz2 |
perl-mime-charset: dep of perl-unicode-linebreak
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-mime-charset/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-mime-charset/PKGBUILD b/abs/core/perl_modules/perl-mime-charset/PKGBUILD new file mode 100644 index 0000000..cc5115c --- /dev/null +++ b/abs/core/perl_modules/perl-mime-charset/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# 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.012.2' +pkgrel=3 +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=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz") +md5sums=('71440416376248c31aa3bef753fae28d') +sha512sums=('2273bf0b86eb042e5aa8bcf958eefefde7dce6701eea5ae8c0fe9997e7d3e90d837a7791ade30f84536a15116175c796daee60da6625f409d214844dfedfde4d') + +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" +} |