updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-git-wrapper / PKGBUILD
blob3e0f22bd8dde41eb552abdca86c9407a0e60b696
1 # CPAN Name  : Git-Wrapper
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.04
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-git-wrapper/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-git-wrapper'
8 pkgver='0.011'
9 pkgrel='1'
10 pkgdesc="wrap git(7) command-line interface"
11 arch=('any')
12 url='http://search.cpan.org/dist/Git-Wrapper'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-file-pushd')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/Git-Wrapper-0.011.tar.gz')
20 md5sums=('ce223f6309f2eb5e57bf7e5cf018d5fe')
22 build() {
23   DIST_DIR="${srcdir}/Git-Wrapper-0.011"
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 Makefile.PL &&
32     make &&
33     
34     make DESTDIR="$pkgdir" install;
35   } || return 1;
37   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete