diff --git a/pkg.info b/pkg.info index 9ea93f4..737624b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,35 @@ name: labwc description: A Wayland window-stacking compositor -version: 0.9.1 +version: 0.9.2 revision: 2 url: https://github.com/labwc/labwc license: GPL2-only architecture: any -depends: ["cairo","glib","glibc","libinput","libpng","librsvg","libsfdo","wlroots","libxcb","libxkbcommon","libxml2","pango","pixman","seatd","ttf-font","wayland","xorg-xwayland"] -make_depends: ["meson","scdoc","wayland-protocols"] type: source +depends: + - cairo + - glib + - glibc + - libinput + - libpng + - librsvg + - libsfdo + - wlroots + - libxcb + - libxkbcommon + - libxml2 + - pango + - pixman + - seatd + - ttf-font + - wayland + - xorg-xwayland +make_depends: + - meson + - scdoc + - wayland-protocols +downloads: + - url: https://github.com/labwc/labwc/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 637b6cf8e78321d01958af439c580d58226ebdb6c4d531981609aa1d15ce648f diff --git a/source.sh b/source.sh index 4450dbd..f661d1a 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/labwc/labwc/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 build function is executed in the source directory # This function is used to compile the source code build() {