# $Id: PKGBUILD 64546 2012-02-16 02:36:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-inline
pkgver=0.50_01
pkgrel=1
pkgdesc="Write Perl subroutines in other languages"
arch=('any')
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)
md5sums=('1e1aa6e83dad5baecb712b1873b3902a')

build() {
  cd  $srcdir/Inline-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
