PKGBUILDs/community/perl-universal-isa/PKGBUILD

25 lines
874 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: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-universal-isa
pkgver=1.01
pkgrel=1
pkgdesc="Attempt to recover from people calling UNIVERSAL::isa as a function "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/UNIVERSAL-isa"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-isa-$pkgver.tar.gz)
md5sums=('032d0d035b6dc8e25dd0e8af55443b9b')
build() {
cd $startdir/src/UNIVERSAL-isa-$pkgver
perl Build.PL installdirs=vendor destdir=${startdir}/pkg \
--config man1ext=1p --config man3ext=3pm || return 1
perl Build || return 1
perl Build install || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}