summaryrefslogtreecommitdiff
path: root/extra/perl-net-dns/PKGBUILD
blob: 74978b49b18a7c4a2040704bfb41c22df8186383 (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
# $Id: PKGBUILD 214229 2014-06-04 13:51:49Z bluewind $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=perl-net-dns
pkgver=0.76_1
pkgrel=2
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')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz)
sha1sums=('f719cf72fdc19ed9a78fcd5d381385c620a93548')

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
}