first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/polkit/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/polkit/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 123
First version

33
src/polkit/pkg.sh Normal file
View File

@ -0,0 +1,33 @@
NAME="polkit"
DESC="Toolkit for defining and handling authorizations"
VERSION="123"
FILES=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$VERSION/polkit-$VERSION.tar.gz")
HASHES=("36540b837c588e1e77145523bb39f511")
DEPENDS=(
"glib" "duktape" "gobject-introspection"
"libxslt" "linux-pam" "systemd"
)
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
mkdir build
cd build
meson setup .. \
--prefix=/usr \
--buildtype=release \
-Dman=true \
-Dsession_tracking=libsystemd-login \
-Dtests=true
ninja && DESTDIR="$ROOTDIR" ninja install
cd ../.. && rm -r $NAME-$VERSION
}
INSTALL(){
groupadd -fg 27 polkitd
useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 -g polkitd -s /bin/false polkitd
exit 0
}