diff --git a/pkg.info b/pkg.info index e13e89b..95649a0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: libdecor description: A client-side decorations library for Wayland client -version: 0.2.4 +version: 0.2.5 revision: 1 url: https://gitlab.freedesktop.org/libdecor/libdecor license: MIT @@ -16,3 +16,8 @@ make_depends: - gtk3 - meson - wayland-protocols +downloads: + - url: https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${BPM_PKG_VERSION}/libdecor-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 39c109a9a7eae943ba34d18a282c447d5729f9c486c8bc05ea305e4acd341522 diff --git a/source.sh b/source.sh index 8d55c95..510897c 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://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${BPM_PKG_VERSION}/libdecor-${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() {