diff --git a/pkg.info b/pkg.info index 98125e3..2fd4225 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,29 @@ name: libxfce4windowing description: Windowing concept abstraction library for X11 and Wayland version: 4.20.4 -revision: 2 +revision: 3 url: https://docs.xfce.org/xfce/libxfce4windowing/start license: LGPL2.1-or-later architecture: any -depends: ["gdk-pixbuf","glib","gtk3","libdisplay-info","libwnck","libx11","wayland"] -make_depends: ["git","gobject-introspection","meson","vala","wayland-protocols","wlroots"] type: source +depends: + - gdk-pixbuf + - glib + - gtk3 + - libdisplay-info + - libwnck + - libx11 + - wayland +make_depends: + - bzip2 + - git + - gobject-introspection + - meson + - vala + - wayland-protocols + - wlroots +downloads: + - url: https://archive.xfce.org/src/xfce/libxfce4windowing/4.20/libxfce4windowing-4.20.4.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: db467f9ac4bac8f1c4e82667902841fc0957af835c29603d6659a57440b6f8cb diff --git a/source.sh b/source.sh index bf7a80c..244f749 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://archive.xfce.org/src/xfce/libxfce4windowing/4.20/libxfce4windowing-4.20.4.tar.bz2" -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() {