diff --git a/pkg.info b/pkg.info index 7afaa95..cc0578b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,28 @@ name: xfce4-settings description: Settings manager for the Xfce desktop environment -version: 4.20.2 +version: 4.20.3 +revision: 1 url: https://docs.xfce.org/xfce/xfce4-settings/start license: GPL2-or-later architecture: any -depends: ["exo","garcon","libcanberra","libnotify","libxfce4ui","libxklavier","xfconf"] -optional_depends: ["cups","python3"] -make_depends: ["glib","libinput"] type: source +depends: + - exo + - garcon + - libcanberra + - libnotify + - libxfce4ui + - libxklavier + - xfconf +optional_depends: + - cups + - python3 +make_depends: + - bzip2 + - glib + - libinput +downloads: + - url: https://archive.xfce.org/src/xfce/xfce4-settings/${BPM_PKG_VERSION%.*}/xfce4-settings-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: f77f79925391b142101bac46e2c48373d87ad73f610af371b8bcf92ba11c6383 diff --git a/source.sh b/source.sh index d3c04df..2e8130b 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/xfce4-settings/${BPM_PKG_VERSION%.*}/xfce4-settings-${BPM_PKG_VERSION}.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() { @@ -24,5 +14,6 @@ build() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libxfce4ui/COPYING }