# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-inline _realname=Inline pkgver=0.80 pkgrel=1 pkgdesc="Write Perl subroutines in other programming languages" url="http://search.cpan.org/~ingy/Inline/" arch="noarch" license="Artistic-1.0 GPL+" depends="perl" makedepends="perl-dev" install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_realname-$pkgver.tar.gz " _builddir="$srcdir"/$_realname-$pkgver prepare() { cd $_builddir return 0 } build() { cd $_builddir PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } md5sums="510bbac46e727bcaf240b7feac2646c9 Inline-0.80.tar.gz" sha256sums="7e2bd984b1ebd43e336b937896463f2c6cb682c956cbd2c311a464363d2ccef6 Inline-0.80.tar.gz" sha512sums="e64f7752f32fd07c7c7a975429e04730f2987c9588f99b95502d4e5c87d458736a606c03943a68660940c3987cd632ad2f75ec3862342956c1754b1aca86e0bb Inline-0.80.tar.gz"