opt/polkit/Pkgfile

33 lines
787 B
Plaintext
Raw Normal View History

2019-05-10 12:58:58 +02:00
# Description: Application development toolkit for controlling system-wide privileges
# URL: http://www.freedesktop.org/wiki/Software/PolicyKit
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: glib util-linux nspr spidermonkey intltool gobject-introspection
2013-09-28 01:24:07 +02:00
name=polkit
2020-08-12 15:35:05 +02:00
version=0.117
2013-09-28 01:24:07 +02:00
release=1
2019-05-10 12:58:58 +02:00
source=(http://www.freedesktop.org/software/$name/releases/$name-$version.tar.gz
polkit-1)
2013-09-28 01:24:07 +02:00
build() {
cd $name-$version
./configure \
--prefix=/usr \
2019-05-10 12:58:58 +02:00
--sysconfdir=/etc \
2013-09-28 01:24:07 +02:00
--localstatedir=/var \
--disable-tests \
--disable-nls \
2019-05-10 12:58:58 +02:00
--enable-libelogind=no \
--enable-libsystemd-login=no \
--with-authfw=pam \
2013-09-28 01:24:07 +02:00
--disable-man-pages
make
make DESTDIR=$PKG install
2019-05-10 12:58:58 +02:00
install -m 0644 $SRC/polkit-1 $PKG/etc/pam.d
rm -r $PKG/usr/share/locale
2013-09-28 01:24:07 +02:00
}