PKGBUILDs/community/perl-class-accessor-chained/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
840 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-class-accessor-chained
pkgver=0.01
pkgrel=3
pkgdesc="make chained accessors"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Class-Accessor-Chained"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-class-accessor')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RC/RCLAMP/Class-Accessor-Chained-$pkgver.tar.gz)
md5sums=('9825a1f30a70e55e61bb5660b2bd7365')
build() {
cd $startdir/src/Class-Accessor-Chained-$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
}