diff --git a/pkg.info b/pkg.info index b28787a..b6d01e9 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: polkit description: Toolkit for defining and handling authorizations version: "126" -revision: 3 +revision: 4 url: https://github.com/polkit-org/polkit license: LGPL2-or-later architecture: any diff --git a/source.sh b/source.sh index 1992c63..7c30d13 100644 --- a/source.sh +++ b/source.sh @@ -12,16 +12,16 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - meson setup --prefix=/usr \ - --libdir=/usr/lib \ - --buildtype=release \ - -Dman=true \ - -Dgtk_doc=true \ - -Dos_type=lfs \ - -Dpolkitd_uid=9 \ - -Dpolkitd_user=polkitd \ - -Dsession_tracking=elogind \ - -Dsystemdsystemunitdir=/tmp \ + meson setup --prefix=/usr \ + --libdir=/usr/lib \ + --buildtype=release \ + -Dman=true \ + -Dgtk_doc=true \ + -Dos_type=lfs \ + -Dpolkitd_uid=9 \ + -Dpolkitd_user=polkitd \ + -Dsession_tracking=elogind \ + -Dsystemdsystemunitdir=no \ -Dtests=false build meson compile -C build } @@ -31,6 +31,9 @@ build() { package() { meson install -C build --destdir="$BPM_OUTPUT" + # Remove systemd tmpfiles.d directory + rm -r "$BPM_OUTPUT"/usr/lib/tmpfiles.d + # Install esvm service install -Dm644 "$BPM_WORKDIR"/polkitd.esv "$BPM_OUTPUT"/etc/esvm/services/polkitd.esv