29 lines
926 B
Bash
29 lines
926 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=perl-mail-authenticationresults
|
|
pkgver=2.20210915
|
|
pkgrel=1
|
|
pkgdesc='Object Oriented Authentication-Results Headers'
|
|
arch=(any)
|
|
license=('GPL-1')
|
|
options=(!emptydirs)
|
|
depends=('perl' 'perl-clone' 'perl-json')
|
|
url=https://metacpan.org/release/Mail-AuthenticationResults
|
|
source=("https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-AuthenticationResults-$pkgver.tar.gz")
|
|
sha512sums=(c1f1149853fd2a30116f70f126bc9822f4d085b030c5e09aec273792888c67ae141dff8c9c2368d21d692b3ca409bab89fef44d6ba0a40c9fe34b845568c570b)
|
|
_ddir="Mail-AuthenticationResults-$pkgver"
|
|
|
|
build() (
|
|
cd "$srcdir/$_ddir"
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
unset PERL5LIB PERL_MM_OPT
|
|
/usr/bin/perl Makefile.PL
|
|
make
|
|
)
|
|
|
|
package() (
|
|
cd "$srcdir/$_ddir"
|
|
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
)
|