From 23102a3ec37fb7dcbb4e612f653542dbcd43e770 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 23 Oct 2025 19:40:37 +0300 Subject: [PATCH] Update package version to 20251016_3.1 --- pkg.info | 12 ++++++++++-- source.sh | 10 ---------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index 4901d68..d67ff7d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,16 @@ name: libedit description: Command line editor library providing generic line editing, history, and tokenization functions -version: 20250104_3.1 +version: "20251016_3.1" +revision: 1 url: https://thrysoee.dk/editline/ license: BSD-3-Clause architecture: any -depends: ["glibc","ncurses"] type: source +depends: + - glibc + - ncurses +downloads: + - url: https://thrysoee.dk/editline/libedit-${BPM_PKG_VERSION/_/-}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 21362b00653bbfc1c71f71a7578da66b5b5203559d43134d2dd7719e313ce041 diff --git a/source.sh b/source.sh index f3a109c..f36bfae 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://thrysoee.dk/editline/libedit-${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() {