summaryrefslogtreecommitdiffstats
path: root/main/perl-inline
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 08:25:29 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 09:29:35 +0000
commite01499cc80b6b1f59fe176954eeac1631201bf2e (patch)
tree78d7cac507f074d66dc0309d54a668a17282b119 /main/perl-inline
parentbdba5b3489f29872b0076cdd7ffeaa11600b3240 (diff)
downloadaports-e01499cc80b6b1f59fe176954eeac1631201bf2e.tar.bz2
aports-e01499cc80b6b1f59fe176954eeac1631201bf2e.tar.xz
main/perl-inline: upgrade to 0.48
Diffstat (limited to 'main/perl-inline')
-rw-r--r--main/perl-inline/APKBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/main/perl-inline/APKBUILD b/main/perl-inline/APKBUILD
index 210d698d8..b52a15df0 100644
--- a/main/perl-inline/APKBUILD
+++ b/main/perl-inline/APKBUILD
@@ -1,11 +1,11 @@
-# Contributor: Leonardo Arena <rnalrd@gmail.com>
-# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
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"