aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-email-messageid/APKBUILD
blob: d3661a97371e8e49faf3435e3d8a504d8cdf93c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                           

                            

            
                                            
                                                   
             

                                               
                          
                                                                                
 
                                    

           
                       
                                                                



                                                                 
                                                                



            
                 


           
                                      


                                                                           


                                                                                                                                                              
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-email-messageid
_pkgreal=Email-MessageID
pkgver=1.407
pkgrel=0
pkgdesc="Generate world unique message-ids."
url="https://metacpan.org/release/Email-MessageID/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="
3400a481fb934d5aa6a27c9dbce00b02951b0edf588c7ee567d97d78ec54531403b399a2c4b86732bcaab040f6e6703a2acd24805fffa6b8dd3cfa8dc3efca1c  Email-MessageID-1.407.tar.gz
"