summaryrefslogtreecommitdiffstats
path: root/main/perl-mail-dkim/APKBUILD
blob: b93d13f5f3c81924269a1d8deba59c7c0f75c391 (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
27
28
29
30
31
32
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-mail-dkim
_realname=Mail-DKIM
pkgver=0.40
pkgrel=0
pkgdesc="Signs/verifies Internet mail with DKIM/DomainKey signatures"
url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
arch="noarch"
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
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="9ceb8a0397aff83928e7a9760b1b190f  Mail-DKIM-0.40.tar.gz"
sha256sums="3c5ea0c3a2028a5a2c3b64bbcd6bd9de6a5fa5ee4e16046dd8875c4796aaa6f1  Mail-DKIM-0.40.tar.gz"
sha512sums="27f10a96f70e56e69f55e5077fb93f29f66d8e7a21846c8fb518403af915f85ac06f0968e6002fa2dc7090746e14a5a7bd973e46bb1d52e4200c3c120cd2e924  Mail-DKIM-0.40.tar.gz"