updated on Fri Jan 20 20:16:25 UTC 2012
[aur-mirror.git] / perl-term-termkey / PKGBUILD
blob905c05eabb1ed88c1c5096411510506bff37c984
1 # CPAN Name  : Pod-PseudoPod
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.04
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-pod-pseudopod/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-term-termkey'
8 _realname='Term-TermKey'
9 _cpanauthor='PEVANS'
10 pkgver='0.10'
11 pkgrel='1'
12 pkgdesc='perl wrapper around libtermkey'
13 arch=('any')
14 url='http://search.cpan.org/dist/Term-TermKey/'
15 license=('PerlArtistic' 'GPL')
16 depends=('perl' 'libtermkey' 'perl-module-build' 'perl-extutils-pkgconfig')
17 options=('!emptydirs')
19 _cpanmirror='http://search.cpan.org/CPAN'
20 _cpandir='authors/id'
21 _cpanid="${_cpanauthor:0:1}/${_cpanauthor:0:2}/${_cpanauthor}"
23 source=(${_cpanmirror}/${_cpandir}/${_cpanid}/${_realname}-${pkgver}.tar.gz)
24 md5sums=('fe5b360711edd3faf1ce1f2ef41d8a10')
26 build() {
27   DIST_DIR="${srcdir}/${_realname}-${pkgver}"
28   {
29         cd "$DIST_DIR" &&
30     perl Build.PL &&
31     perl Build &&
32     perl Build install;
33   } || return 1;
35   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete