Remove systemd directory
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: xsettingsd
|
name: xsettingsd
|
||||||
description: Configure X11 applications via XSETTINGS specification
|
description: Configure X11 applications via XSETTINGS specification
|
||||||
version: 1.0.2
|
version: 1.0.2
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://codeberg.org/derat/xsettingsd
|
url: https://codeberg.org/derat/xsettingsd
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -2,12 +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 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
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
|
||||||
prepare() {
|
|
||||||
echo "You may remove this function if you do not intend to use it"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -20,6 +14,9 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
|
|
||||||
|
# Remove systemd directory
|
||||||
|
rm -r "$BPM_OUTPUT"/usr/lib
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xsettingsd/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xsettingsd/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user