PKGBUILDs/community/perl-svn-mirror/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
972 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-svn-mirror
pkgver=0.75
pkgrel=1
pkgdesc="Perl/CPAN Module SVN::Mirror"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/SVN-Mirror"
license=("GPL" "PerlArtistic")
makedepends=("perl-svn-simple-edit" "perl-uri" "perl-class-accessor" "perl-file-chdir" "perl-timedate" "perl-term-readkey")
depends=("subversion" "perl-svn-simple-edit" "perl-uri" "perl-class-accessor" "perl-file-chdir" "perl-timedate" "perl-term-readkey")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/SVN-Mirror-$pkgver.tar.gz")
build() {
cd $startdir/src/SVN-Mirror-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('15c81a0958ae94e11fcb0dbb62548c98')