PKGBUILDs/community/perl-object-multitype/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
738 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-object-multitype
pkgver=0.05
pkgrel=3
pkgdesc="Perl/CPAN Module Object::MultiType"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Object-MultiType"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/G/GM/GMPASSOS/Object-MultiType-0.05.tar.gz")
md5sums=('171ed010dab19fb8b94f22a5fca97814')
build() {
cd $startdir/src/Object-MultiType-0.05
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
}