diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:09:10 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:09:10 +0000 |
commit | e1684d9767ae85541eda1f1e353bada0dd4b82b8 (patch) | |
tree | bb898435045d7518a042d76713fd39678d190504 | |
parent | f13265cdc9e67ba55ca621bf6a1783554297d2a6 (diff) | |
download | packages-e1684d9767ae85541eda1f1e353bada0dd4b82b8.tar.gz packages-e1684d9767ae85541eda1f1e353bada0dd4b82b8.tar.bz2 packages-e1684d9767ae85541eda1f1e353bada0dd4b82b8.tar.xz packages-e1684d9767ae85541eda1f1e353bada0dd4b82b8.zip |
user/perl-email-mime-contenttype: new package
-rw-r--r-- | user/perl-email-mime-contenttype/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-mime-contenttype/APKBUILD b/user/perl-email-mime-contenttype/APKBUILD new file mode 100644 index 000000000..bccd41537 --- /dev/null +++ b/user/perl-email-mime-contenttype/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-email-mime-contenttype +_pkgname=Email-MIME-ContentType +pkgver=1.022 +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-2.0-only" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-$pkgver.tar.gz" +builddir="$srcdir/Email-MIME-ContentType-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="38561922e0dbc180ac24003a3b64ef39e25a5607bbedc75a3e4580490ab84e02bfd5165225eff4884112cf1f82ec46ee62f31c047acea6b9a3cca390deb965be Email-MIME-ContentType-1.022.tar.gz" |