aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline/APKBUILD
diff options
context:
space:
mode:
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"