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

24 lines
838 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-freezethaw
pkgver=0.45
pkgrel=2
pkgdesc="Convert arbitrary objects to/from strings"
arch=('any')
url="http://search.cpan.org/dist/FreezeThaw"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/FreezeThaw-$pkgver.tar.gz)
build() {
cd $startdir/src/FreezeThaw-$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
}
md5sums=('2060d11775f5546f97cc03d8f1ed98e5')