From 3cecef730e1b7cce602598e595528c61bc40e7a0 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 16 Oct 2025 12:28:07 +0300 Subject: [PATCH] Update package version to 2.0.24 --- pkg.info | 9 +++++++-- source.sh | 10 ---------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index c9ebbd2..600268f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: asciidoctor description: A fast text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook & more -version: 2.0.23 -revision: 2 +version: 2.0.24 +revision: 1 url: https://asciidoctor.org/ license: MIT architecture: any @@ -9,3 +9,8 @@ output_architecture: any type: source depends: - ruby +downloads: + - url: https://github.com/asciidoctor/asciidoctor/archive/v${BPM_PKG_VERSION}/asciidoctor-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: e9e4f1a5c8f20b672e4221dce8b5954e9d690862e3fa1c5fa0d82c559d6e3d20 diff --git a/source.sh b/source.sh index 8a759cc..2ac8ea6 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://github.com/asciidoctor/asciidoctor/archive/v${BPM_PKG_VERSION}/asciidoctor-${BPM_PKG_VERSION}.tar.gz" -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() {