diff --git a/pkg.info b/pkg.info index 6c0227f..414c620 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,29 @@ name: xfdesktop description: Desktop manager for the Xfce Desktop Environment -version: 4.20.1 +version: 4.20.2 +revision: 1 url: https://docs.xfce.org/xfce/xfdesktop/start license: GPL2-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["exo","garcon","gtk-layer-shell","hicolor-icon-theme","libwnck","libxfce4ui","libxfce4windowing","libyaml","thunar"] -make_depends: ["glib","meson","wayland-protocols"] type: source +depends: + - exo + - garcon + - gtk-layer-shell + - hicolor-icon-theme + - libwnck + - libxfce4ui + - libxfce4windowing + - libyaml + - thunar +make_depends: + - glib + - meson + - wayland-protocols +downloads: + - url: https://gitlab.xfce.org/xfce/xfdesktop/-/archive/xfdesktop-${BPM_PKG_VERSION}/xfdesktop-xfdesktop-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: b435904ec22dbd69c7d8f977873c7df7cf1c3b7c858d014631035f148d6cfed5 diff --git a/source.sh b/source.sh index e082744..8c987a3 100644 --- a/source.sh +++ b/source.sh @@ -2,32 +2,18 @@ # 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.xfce.org/xfce/xfdesktop/-/archive/xfdesktop-${BPM_PKG_VERSION}/xfdesktop-xfdesktop-${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() { - mkdir build - cd build - - meson setup --prefix=/usr - meson compile + meson setup build --prefix=/usr + meson compile -C build } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - cd build - - meson install --destdir="$BPM_OUTPUT" + meson install -C build --destdir="$BPM_OUTPUT" + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfdesktop/COPYING }