diff options
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | pam_phosh | 5 |
2 files changed, 16 insertions, 2 deletions
@@ -33,8 +33,14 @@ makedepends=( ) provides=(phosh) conflicts=(phosh) -source=("git+${url}.git") -sha256sums=('SKIP') +source=( + "git+${url}.git" + "pam_phosh" +) +sha256sums=( + 'SKIP' + 'b7793f80c533e84ad8adfe8bb46c69f107575e724aa9b53b41f370baa37e4fd5' + ) pkgver() { cd phosh @@ -56,4 +62,7 @@ build() { package() { DESTDIR="${pkgdir}" meson install -C _build + + install -Dm644 "$srcdir"/pam_phosh \ + "$pkgdir"/etc/pam.d/phosh } diff --git a/pam_phosh b/pam_phosh new file mode 100644 index 000000000000..0580d9841cef --- /dev/null +++ b/pam_phosh @@ -0,0 +1,5 @@ +#%PAM-1.0 + +auth include system-local-login +account include system-local-login +session include system-local-login |