From 4505c133b22982541c132528c8d34421ffb0ef59 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 15 Mar 2026 11:54:38 +0200 Subject: [PATCH] Update package version to 5.42.1 --- pkg.info | 18 +++++++++++++++--- source.sh | 10 ---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 067996d..30fea64 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,21 @@ name: perl description: The Practical Extraction and Report Language -version: 5.42.0 +version: 5.42.1 +revision: 1 url: https://www.perl.org/ license: GPL3-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["gdbm","glibc","libxcrypt"] -make_depends: ["procps-ng"] type: source +depends: + - gdbm + - glibc + - libxcrypt +make_depends: + - procps-ng +downloads: + - url: https://www.cpan.org/src/${BPM_PKG_VERSION%%.*}.0/perl-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 098c7f76e7a28443f6403610c7e339777905360c5225798fd142b8d33b05c6b4 diff --git a/source.sh b/source.sh index 4edf4b0..c005c29 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://www.cpan.org/src/5.0/perl-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {