summaryrefslogblamecommitdiff
path: root/user/perl-email-mime-encodings/APKBUILD
blob: da7b6b3a203c568c3760e83b8c90dbfc517d2222 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               







                                                       
                                                                                        
         



                                                                 


                 



                                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-mime-encodings
_pkgreal=Email-MIME-Encodings
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.315
pkgrel=0
pkgdesc="Unified interface to MIME codecs for Perl"
url="https://metacpan.org/release/Email-MIME-Encodings"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-capture-tiny"
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="4cd787e099617b70963c8ef6372e2a16038c61170fdd343aad88a024ecd15c789fd2c8cc19830c3518b6648e428301eed1ae20f496fa97afbdd8bb7f3ae432aa  Email-MIME-Encodings-1.315.tar.gz"