From 6f0d46b74090091905d179ade1675e36d51d063c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 12 Jan 2026 12:04:14 +0200 Subject: [PATCH] Switch to new download format and update dependencies --- pkg.info | 8 +++++++- source.sh | 10 ---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 649b7a0..f6a315d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: tide-chroot description: A simple bash script for setting up and entering a chroot environment for Tide Linux version: "1.2" -revision: 1 +revision: 2 url: https://gitlab.com/EnumDev/tide-chroot license: MIT architecture: any @@ -9,3 +9,9 @@ output_architecture: any type: source depends: - bash + - util-linux +downloads: + - url: https://github.com/EnumeratedDev/tide-chroot/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: b18af73eae19814bf1516eeb3dc0b476842dcb0e550f9fd1ac940d45d63ccede diff --git a/source.sh b/source.sh index a94600e..5987149 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/EnumeratedDev/tide-chroot/archive/refs/tags/${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 package function is executed in the source directory # This function is used to move the compiled files into the output directory package() {