# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=pam-rundir _projname=pam_rundir pkgver=1.0.0 pkgrel=2 pkgdesc="Provides user runtime directory (XDG_RUNTIME_DIR) on Linux systems" url="https://jjacky.com/pam_rundir/" arch="all" license="GPL-2.0-or-later" makedepends="linux-headers linux-pam-dev cmd:pod2man" subpackages="$pkgname-doc" # Also on https://github.com/jjk-jacky/pam_rundir source="https://jjacky.com/pam_rundir/pam_rundir-$pkgver.tar.gz use-prctl-to-bypass-perms-check-on-mkdir.patch fix-equal-bug-pr5.patch fix-group-of-user-dir.patch configure-default-to-run-user.patch " builddir="$srcdir/$_projname-$pkgver" options="!check" # no tests provided build() { ./configure --prefix=/ make } package() { make install DESTDIR="$pkgdir" } sha512sums=" 785cd3a5150f83bd0562f312c7fe3992e2a6f1c9d2014300e99935fe6bb84b5edaa71c276740c35c36348d50984ea6c221624f3cc3b2e849cad3fd14e2ccfbe3 pam_rundir-1.0.0.tar.gz ee444ef291b07fa68738da263375960867d2fff18666b169d66a6511e849a547c2748cebf8dc36d80ca663cb9a29e9261d98c293aac5659178fb59b954c2c1c2 use-prctl-to-bypass-perms-check-on-mkdir.patch 839686104f3b5840ee6ffa8bc518b5e7636d80af6c01fbe91406addb529600f9ba8b5885fd9595ebeabeaff419d6c5ee71e8de5ea36c0ce9db8997fdd8d20c99 fix-equal-bug-pr5.patch 7bbf8fdd975fc1c10e10cfbbe312e6f97a32723e4d49e9fcb6e8075abc4d119b9341d60a677908f012b81db1d05f87102c980bae9d2e3f90e5b47d660bebb2f9 fix-group-of-user-dir.patch b01c6804e7eb624c8ed131c44d7ec4e741fc244deefd7a28177dfcbee4379aa42ad4796deb0122323f4c7c29fc735c340b71a718d8b085a714d90a46b0e8b652 configure-default-to-run-user.patch "