Commit 80d413d3 authored by Francesco Colista's avatar Francesco Colista

community/perl-email-mime: update to 1.949

    - fixed linting
    - updated APKBUILD
parent 69795493
......@@ -3,8 +3,8 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-email-mime
_pkgreal=Email-MIME
pkgver=1.946
pkgrel=2
pkgver=1.949
pkgrel=0
pkgdesc="easy MIME message handling"
url="https://metacpan.org/release/Email-MIME/"
arch="noarch"
......@@ -13,15 +13,12 @@ depends="perl-email-mime-contenttype perl-email-mime-encodings
perl-email-simple perl-email-address perl-email-messageid perl-mime-types
perl-email-address-xs perl-module-runtime"
makedepends="perl-dev"
checkdepends="perl-text-unidecode"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
make test
}
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
......@@ -32,9 +29,13 @@ build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="335a8fd032cca0bb1cdb230899c53fc72037939bd11653d08e66a9ffa6fc5f87aefa2ce28f14b1cbb1a0bacd778b5459445d2829835bedc4f6276ae2ef2d6caa Email-MIME-1.946.tar.gz"
sha512sums="2cd8653a4efe8195d574827ad15883ff7f82d92325197c0458f1ddfd4c50ed275068e8a2df5ed5110b37b5b904aaf4234855eefec9cfc0d70987e678df2732ea Email-MIME-1.949.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment