PKGBUILDs/community/perl-universal-isa/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
874 B
Bash

# 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
}