diff --git a/pkg.info b/pkg.info index 1acb4ab..ac25c98 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,19 @@ name: texinfo description: GNU documentation system -version: 7.2 +version: "7.3" +revision: 1 url: https://www.gnu.org/software/texinfo/ license: GPL3 +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["gzip","ncurses","perl"] type: source +depends: + - gzip + - ncurses + - perl +downloads: + - url: https://ftpmirror.gnu.org/gnu/texinfo/texinfo-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 51f74eb0f51cfa9873b85264dfdd5d46e8957ec95b88f0fb762f63d9e164c72e diff --git a/source.sh b/source.sh index 1ff129c..d200b09 100644 --- a/source.sh +++ b/source.sh @@ -2,20 +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://ftpmirror.gnu.org/gnu/texinfo/texinfo-${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" - - cd "$BPM_SOURCE" - # Fix perl 5.42+ warning - sed 's/! $output_file eq/$output_file ne/' -i tp/Texinfo/Convert/*.pm -} - # The build function is executed in the source directory # This function is used to compile the source code build() {