summaryrefslogblamecommitdiff
path: root/user/perl-email-messageid/APKBUILD
blob: de70563d02fdad34410a66f105300e39b4d80bfc (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                            



                               
            



                                                  
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-messageid
_pkgreal=Email-MessageID
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.408
pkgrel=0
pkgdesc="Generate unique Message-IDs in Perl"
url="https://metacpan.org/release/Email-MessageID"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
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="f2c5acda302a2db3766c3bc5f0ccd1c4a1adefd7c6ebc2ba5372821deff280e4680df0d3461c26acdf923fe20c12e0630b4efd4dedb9604c247f067ec7cfbcb9  Email-MessageID-1.408.tar.gz"