PKGBUILDs/community/perl-patchreader/PKGBUILD

24 lines
785 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
pkgname=perl-patchreader
pkgver=0.9.5
pkgrel=1
pkgdesc="Utilities to read and manipulate patches and CVS"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/PatchReader"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/J/JK/JKEISER/PatchReader-$pkgver.tar.gz)
md5sums=('8aca86b807aec3c82dcb981c7730f022')
build() {
cd $startdir/src/PatchReader-$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
}