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() {