From e01499cc80b6b1f59fe176954eeac1631201bf2e Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Mon, 17 Oct 2011 08:25:29 +0000 Subject: main/perl-inline: upgrade to 0.48 --- main/perl-inline/APKBUILD | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'main/perl-inline/APKBUILD') diff --git a/main/perl-inline/APKBUILD b/main/perl-inline/APKBUILD index 210d698d88..b52a15df05 100644 --- a/main/perl-inline/APKBUILD +++ b/main/perl-inline/APKBUILD @@ -1,11 +1,11 @@ -# Contributor: Leonardo Arena -# Maintainer: Leonardo Arena +# Contributor: Leonardo Arena +# Maintainer: Leonardo Arena pkgname=perl-inline _realname=Inline -pkgver=0.46 -pkgrel=1 +pkgver=0.48 +pkgrel=0 pkgdesc="Write Perl subroutines in other programming languages" -url="http://search.cpan.org/~sisyphus/Inline-0.45/" +url="http://search.cpan.org/~sisyphus/" arch="noarch" license="Unknown" depends="perl" @@ -14,8 +14,15 @@ install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/$_realname-$pkgver.tar.gz" +_builddir="$srcdir"/$_realname-$pkgver + +prepare() { + cd $_builddir + return 0 +} + build() { - cd "$srcdir/$_realname-$pkgver" + cd $_builddir PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 @@ -28,4 +35,4 @@ package() { find "$pkgdir" -name perllocal.pod -delete } -md5sums="4c2f14829fbe83cb456e9c5c0dac06b3 Inline-0.46.tar.gz" +md5sums="925bf07567516dd0596d0bbf4e9b2bb9 Inline-0.48.tar.gz" -- cgit v1.2.3