summaryrefslogtreecommitdiffstats
path: root/main/perl-mail-dkim/APKBUILD
blob: 7eb62b2e68c5aaa37746788af74b89e853d4fe72 (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
# Maintainer:  Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-mail-dkim
_realname=Mail-DKIM
pkgver=0.37
pkgrel=0
pkgdesc="Signs/verifies Internet mail with DKIM/DomainKey signatures"
url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
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="f3e84ec6b5e42d4cbcc7c42ea2900649  Mail-DKIM-0.37.tar.gz"