Switch to new download format and remove systemd directory
This commit is contained in:
@@ -1,9 +1,22 @@
|
|||||||
name: xfconf
|
name: xfconf
|
||||||
description: Hierarchical configuration system
|
description: Hierarchical configuration system
|
||||||
version: 4.20.0
|
version: 4.20.0
|
||||||
|
revision: 2
|
||||||
url: https://docs.xfce.org/xfce/xfconf/start
|
url: https://docs.xfce.org/xfce/xfconf/start
|
||||||
license: GPL2-or-later
|
license: GPL2-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libxfce4util"]
|
|
||||||
make_depends: ["glib","gobject-introspection","gtk-doc","intltool","vala","xfce4-dev-tools"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- libxfce4util
|
||||||
|
make_depends:
|
||||||
|
- glib
|
||||||
|
- gobject-introspection
|
||||||
|
- gtk-doc
|
||||||
|
- intltool
|
||||||
|
- vala
|
||||||
|
- xfce4-dev-tools
|
||||||
|
downloads:
|
||||||
|
- url: https://gitlab.xfce.org/xfce/xfconf/-/archive/xfconf-${BPM_PKG_VERSION}/xfconf-xfconf-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: a432495a0f1e0aab7cd644373ed6dec7da0f974f4deee3d763b7d8553a0bfc3c
|
||||||
|
|||||||
@@ -2,15 +2,9 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# 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
|
# 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/xfconf/-/archive/xfconf-${BPM_PKG_VERSION}/xfconf-xfconf-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# 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
|
# This function is used for downloading files and putting them into the correct location
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
@@ -27,5 +21,8 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Remove systemd directory
|
||||||
|
rm -r "$BPM_OUTPUT"/usr/lib/systemd
|
||||||
|
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfconf/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfconf/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user