PKGBUILDs/community/perl-inline/PKGBUILD

24 lines
811 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-inline
pkgver=0.45
pkgrel=1
pkgdesc="Write Perl subroutines in other languages"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Inline"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-parse-recdescent>=1.8')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Inline-$pkgver.tar.gz)
build() {
cd $startdir/src/Inline-$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=('63140a6c911f1576fdee71ba4457610f')