summaryrefslogblamecommitdiff
path: root/system/perl-net-smtp-ssl/APKBUILD
blob: 622b0e3fc88b213427957db4994a4dc79e0929c4 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                   

                               

                                       
                                               
                                           
                                            
                          
                                                                                        
                                    
         
                                                                 


            


                 



                                                                                                                                                                       
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-net-smtp-ssl
_pkgreal=Net-SMTP-SSL
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.04
pkgrel=0
pkgdesc="SSL/TLS support for Net::SMTP"
url="https://metacpan.org/release/Net-SMTP-SSL"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-io-socket-ssl perl-net-ssleay"
makedepends=""
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="dfbf59e5d895add19f5684c999c941ab56a58be39492a02e5a9bdac47039bf388279eda734c6b0422d228ac14efed899b3572561e6a34cfd9582423252efb509  Net-SMTP-SSL-1.04.tar.gz"