aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-11-19 09:34:44 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-11-19 09:40:41 +0000
commit0c3299d416657761d0ef69e4a7c7971d38fd070c (patch)
tree3f2bac0872275cfb5f1c59a43370cfc9fffd8779 /main/perl-inline/APKBUILD
parent0f59fe7958f485a576b403db5f2161f0c986edc1 (diff)
downloadaports-0c3299d416657761d0ef69e4a7c7971d38fd070c.tar.bz2
aports-0c3299d416657761d0ef69e4a7c7971d38fd070c.tar.xz
main/perl-inline: upgrade to 0.50_01
Diffstat (limited to 'main/perl-inline/APKBUILD')
-rw-r--r--main/perl-inline/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/perl-inline/APKBUILD b/main/perl-inline/APKBUILD
index b52a15df05..6be7d2dc0f 100644
--- a/main/perl-inline/APKBUILD
+++ b/main/perl-inline/APKBUILD
@@ -2,7 +2,9 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-inline
_realname=Inline
-pkgver=0.48
+vmajor=0.50
+vminor=01
+pkgver=${vmajor}.${vminor}
pkgrel=0
pkgdesc="Write Perl subroutines in other programming languages"
url="http://search.cpan.org/~sisyphus/"
@@ -12,9 +14,9 @@ depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/$_realname-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/$_realname-${vmajor}_${vminor}.tar.gz"
-_builddir="$srcdir"/$_realname-$pkgver
+_builddir="$srcdir"/$_realname-${vmajor}_${vminor}
prepare() {
cd $_builddir
@@ -29,10 +31,10 @@ build() {
}
package() {
- cd "$srcdir/$_realname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="925bf07567516dd0596d0bbf4e9b2bb9 Inline-0.48.tar.gz"
+md5sums="1e1aa6e83dad5baecb712b1873b3902a Inline-0.50_01.tar.gz"