updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-uri-find / PKGBUILD
blobea6d2b9926466a44207c42932fc7d1136244c52a
1 # CPAN Name  : URI-Find
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.04
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-uri-find/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-uri-find'
8 pkgver='20100505'
9 pkgrel='1'
10 pkgdesc="Find URIs in plain text"
11 arch=('any')
12 url='http://search.cpan.org/dist/URI-Find'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-uri>=1.00')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/URI-Find-20100505.tar.gz')
20 md5sums=('d470e33f31986839cd49a77a08133520')
22 build() {
23   DIST_DIR="${srcdir}/URI-Find-20100505"
24   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
25     PERL_AUTOINSTALL=--skipdeps                            \
26     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
27     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
28     MODULEBUILDRC=/dev/null
29   {
30         cd "$DIST_DIR" &&
31     perl Build.PL &&
32     perl Build &&
33     perl Build test &&
34     perl Build install;
35   } || return 1;
37   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete