aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mail-dkim/APKBUILD
blob: 6ca4ac42f3d277aed224f55a1119e40cfa3bbdab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer:  Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-mail-dkim
_realname=Mail-DKIM
pkgver=0.38
pkgrel=0
pkgdesc="Signs/verifies Internet mail with DKIM/DomainKey signatures"
url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
arch="x86 x86_64"
license="unknown"
depends="perl perl-net-dns perl-net-ip perl-mail-tools perl-crypt-openssl-rsa"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="bdf2233c9b1c9a4615c7396b660feb7a  Mail-DKIM-0.38.tar.gz"