summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 008489626082eea582cb732c5841fdb415605960 (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
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=AnyEvent-CacheDNS
cpanauthor=POTYL
pkgname=perl-anyevent-cachedns
pkgver=0.08
pkgrel=1
pkgdesc="Perl AnyEvent::CacheDNS CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=('perl' 'perl-anyevent')
makedepends=('perl-module-build')
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('41c1faf183b61806b55889ceea1237750c1f61b9ce2735fdf33dc05536712dae')

build() {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Build.PL
	 perl Build
}

package () {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Build install destdir="${pkgdir}"
}