blob: b14dfe04002fad415d6721aa09af0c9cdeafee6f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-mime-contenttype
_pkgreal=Email-MIME-ContentType
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.028
pkgrel=0
pkgdesc="Parse MIME Content-Type/Disposition headers in Perl"
url="https://metacpan.org/release/Email-MIME-ContentType"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-text-unidecode"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d6d06546fd12c238be431713d610478780866553acc6017963be0993a3796f43f39d5720b922f18cebb4e23b14f3ff03e3f3a5fee5dd9eed7afa75672fedebe5 Email-MIME-ContentType-1.028.tar.gz"
|