From 20697733eb4adeecd459c0cc489e8e5b9d3590d8 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 15 Nov 2025 20:49:37 +0200 Subject: [PATCH] Update package version to 1.11.4 --- pkg.info | 8 +++++++- source.sh | 10 ---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 2a75a66..37593cc 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,13 @@ name: scdoc description: scdoc is a simple man page generator for POSIX systems written in C99 -version: 1.11.3 +version: 1.11.4 +revision: 1 url: https://git.sr.ht/~sircmpwn/scdoc/ license: MIT architecture: any type: source +downloads: + - url: https://git.sr.ht/~sircmpwn/scdoc/archive/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: e1a9c2000f855123a1a50c8f897073e0ee95fc41787431efe3864c2f1c2e7092 diff --git a/source.sh b/source.sh index abe2b84..ff42253 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://git.sr.ht/~sircmpwn/scdoc/archive/${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() {