diff --git a/pkg.info b/pkg.info index d5f4493..0b2d443 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: xsettingsd description: Configure X11 applications via XSETTINGS specification version: 1.0.2 -revision: 1 +revision: 2 url: https://codeberg.org/derat/xsettingsd license: BSD-3-Clause architecture: any diff --git a/source.sh b/source.sh index 537a79d..1c8f035 100644 --- a/source.sh +++ b/source.sh @@ -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 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 # This function is used to compile the source code build() { @@ -20,6 +14,9 @@ build() { package() { DESTDIR="$BPM_OUTPUT" cmake --install build + # Remove systemd directory + rm -r "$BPM_OUTPUT"/usr/lib + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xsettingsd/COPYING }