opt/polkit/Pkgfile

33 lines
798 B
Plaintext
Raw Normal View History

2019-05-10 12:58:58 +02:00
# Description: Application development toolkit for controlling system-wide privileges
2021-01-29 00:03:01 +00:00
# URL: https://gitlab.freedesktop.org/polkit/polkit/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib gobject-introspection intltool mozjs78 nspr util-linux
2013-09-28 08:24:07 +09:00
name=polkit
version=0.118
2013-09-28 08:24:07 +09:00
release=1
2021-01-29 00:03:01 +00:00
source=(https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/$name-$version.tar.bz2
polkit-1)
2013-09-28 08:24:07 +09:00
build() {
2021-01-29 00:03:01 +00:00
cd $name-$version
2013-09-28 08:24:07 +09:00
2021-01-29 00:03:01 +00:00
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-libelogind=no \
--enable-libsystemd-login=no \
--with-authfw=pam \
--disable-tests \
--disable-nls \
--disable-man-pages
2013-09-28 08:24:07 +09:00
2021-01-29 00:03:01 +00:00
make
make DESTDIR=$PKG install
2013-09-28 08:24:07 +09:00
2021-01-29 00:03:01 +00:00
install -m 0644 $SRC/polkit-1 $PKG/etc/pam.d
2019-05-10 12:58:58 +02:00
2021-01-29 00:03:01 +00:00
rm -r $PKG/usr/share/locale
2013-09-28 08:24:07 +09:00
}