Switch to new download format and update dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: tide-chroot
|
name: tide-chroot
|
||||||
description: A simple bash script for setting up and entering a chroot environment for Tide Linux
|
description: A simple bash script for setting up and entering a chroot environment for Tide Linux
|
||||||
version: "1.2"
|
version: "1.2"
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://gitlab.com/EnumDev/tide-chroot
|
url: https://gitlab.com/EnumDev/tide-chroot
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -9,3 +9,9 @@ output_architecture: any
|
|||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
- bash
|
- 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
|
||||||
|
|||||||
@@ -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 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
|
# 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
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user