🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
pkgname: polkit
pkgver: '127'
pkgrel: '3'
pkgdesc: 'Application development toolkit for controlling system-wide privileges'
url: 'https://github.com/polkit-org/polkit'
arch: x86_64
depends: []
makedepends:
- pam
- systemd
- gettext
- glib
- duktape
- gobject-introspection
- patch
- autoconf
- intltool
- 'perl-xml-parser'
- libxslt
- 'docbook-xsl'
source:
- 'https://github.com/${pkgname}-org/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- 9b7bc16f086479dcc626c575976568ba4a85d34297a750d8ab3d2e57f6d8b988
build: |
sed -i '/systemd_sysusers_dir/s/^/#/' polkit-127/meson.build
meson setup --prefix /usr \
--buildtype plain \
--libexecdir lib \
--sbindir bin \
-D b_pie=true \
-D man=false \
-D session_tracking=logind \
-D tests=true \
-D os_type=lfs \
-D introspection=false \
polkit-127 builddir
meson compile -C builddir
package: |
DESTDIR=${PKGDIR} meson install -C builddir
mkdir -p ${PKGDIR}/etc/pam.d
cat > ${PKGDIR}/etc/pam.d/polkit-1 << "EOF"
# Begin /etc/pam.d/polkit-1
auth include system-auth
account include system-account
password include system-password
session include system-session
# End /etc/pam.d/polkit-1
EOF