summaryrefslogblamecommitdiff
path: root/user/perl-email-messageid/APKBUILD
blob: 71ce679192dadfa501c4aec364b5731cf9dee87c (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.407
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="3400a481fb934d5aa6a27c9dbce00b02951b0edf588c7ee567d97d78ec54531403b399a2c4b86732bcaab040f6e6703a2acd24805fffa6b8dd3cfa8dc3efca1c  Email-MessageID-1.407.tar.gz"