diff --git a/pkg.info b/pkg.info index 1f4bd6f..bb89c0f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,13 @@ name: os-prober description: Utility to detect other OSes on a set of drives -version: 1.83 +version: "1.84" +revision: 1 url: https://joeyh.name/code/os-prober/ license: GPL2-or-later architecture: any type: source +downloads: + - url: https://deb.debian.org/debian/pool/main/o/os-prober/os-prober_${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 42e48245986d8ec9491a07a74522c7b78e685ddc9b4f801045c62cd03dd7b067 diff --git a/source.sh b/source.sh index f623373..29243a4 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://deb.debian.org/debian/pool/main/o/os-prober/os-prober_${BPM_PKG_VERSION}.tar.xz" -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() {