blob: 64f3ae18bf3636a1f0bbc67f49c6e1224744c7d9 (
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
33
|
# $Id: PKGBUILD 215054 2014-06-12 03:05:13Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=perl-net-dns
pkgver=0.76_2
pkgrel=1
pkgdesc="Perl Module: Interface to the DNS resolver"
arch=('i686' 'x86_64')
license=('PerlArtistic')
url="http://search.cpan.org/dist/Net-DNS/"
depends=('perl-digest-hmac' 'perl-net-ip' 'perl')
checkdepends=('perl-test-pod')
optdepends=('perl-io-socket-inet6: IPv6 support'
'perl-socket6: IPv6 support')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz)
sha1sums=('93a79f281c2a731020959cc28630fa20128b18d0')
build() {
cd Net-DNS-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Net-DNS-${pkgver}
make test
}
package() {
cd Net-DNS-${pkgver}
make DESTDIR="${pkgdir}" install
}
|