summaryrefslogtreecommitdiff
path: root/system/perl
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-02-16 21:13:53 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-02-16 21:13:53 +0000
commitdbbc5072f5c2b428de142604b9c1c70b4159a845 (patch)
treea3956d8d7cc74f020d042e34eb808a49ac4860c9 /system/perl
parent9d8715562c846a78b9679d405d136e05a2fa330f (diff)
parentca5ed52ede018f31ebfd896d367f589675e62b7e (diff)
downloadpackages-dbbc5072f5c2b428de142604b9c1c70b4159a845.tar.gz
packages-dbbc5072f5c2b428de142604b9c1c70b4159a845.tar.bz2
packages-dbbc5072f5c2b428de142604b9c1c70b4159a845.tar.xz
packages-dbbc5072f5c2b428de142604b9c1c70b4159a845.zip
Merge branch 'bumps.aerdan.20200214' into 'master'
Bumps for packages owned by Kiyoshi Aman as of 15 Feb 2020 See merge request adelie/packages!400
Diffstat (limited to 'system/perl')
-rw-r--r--system/perl/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD
index f65edd034..7e23f0a82 100644
--- a/system/perl/APKBUILD
+++ b/system/perl/APKBUILD
@@ -5,7 +5,7 @@
# Proxy-For: solar
pkgname=perl
pkgver=5.26.3
-pkgrel=0
+pkgrel=1
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url="https://www.perl.org/"
arch="all"
@@ -15,7 +15,9 @@ license="Artistic-1.0-Perl GPL-2.0"
depends=""
makedepends="bzip2-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-dev"
+# XXX - Remove Getopt::Long when upgrading to 5.32+
source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
+ https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-2.51.tar.gz
"
# secfixes:
@@ -46,6 +48,8 @@ prepare() {
rm -rf cpan/Compress-Raw-Bzip2/bzip2-src
sed -i '/\(bzip2\|zlib\)-src/d' MANIFEST
+ rm -rf cpan/Getopt-Long && mv "$srcdir"/Getopt-Long-2.51 cpan/Getopt-Long
+ rm cpan/Getopt-Long/Makefile.PL
}
build() {
@@ -96,6 +100,7 @@ package() {
error "files found under /usr/local"
fi
find "$pkgdir" -name '.*' -delete
+ rm "$pkgdir"/usr/bin/xsubpp
}
dev() {
@@ -106,10 +111,10 @@ dev() {
mv "$pkgdir"/usr/bin/h2xs \
"$pkgdir"/usr/bin/perlivp \
"$pkgdir"/usr/bin/enc2xs \
- "$pkgdir"/usr/bin/xsubpp \
"$subpkgdir"/usr/bin/
default_dev
}
-sha512sums="03914ed51163c998a6afa45610a13cf50124a2c68d291c344b0d52fa15c27fc5d5d4f5dc117516078a03dfd51250097b87c8d5e2b17c7858a4c8c536aecd05af perl-5.26.3.tar.gz"
+sha512sums="03914ed51163c998a6afa45610a13cf50124a2c68d291c344b0d52fa15c27fc5d5d4f5dc117516078a03dfd51250097b87c8d5e2b17c7858a4c8c536aecd05af perl-5.26.3.tar.gz
+e70b2c30f5f85d7bf387381782a22b55f76598e1b4e19102fbf463c4333e91090ad2da49965be6211821d4f7f109aa7e4153348a9142f38fdb1a39299c997c02 Getopt-Long-2.51.tar.gz"