diff options
author | Erich Eckner <git@eckner.net> | 2020-09-08 14:15:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-09-08 14:15:13 +0200 |
commit | b68825d32c498a9b20444c699da10bfaf10b9a26 (patch) | |
tree | bd86169d1bf09572a37255ada10a1471c1046fec /pambase-no-systemd-home/PKGBUILD | |
parent | d5637e59be1d916b211aef409bbaaa6fb9ca963d (diff) | |
download | archlinuxewe-b68825d32c498a9b20444c699da10bfaf10b9a26.tar.xz |
pambase-no-systemd-home new
Diffstat (limited to 'pambase-no-systemd-home/PKGBUILD')
-rw-r--r-- | pambase-no-systemd-home/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pambase-no-systemd-home/PKGBUILD b/pambase-no-systemd-home/PKGBUILD new file mode 100644 index 000000000..dcc4bf2b6 --- /dev/null +++ b/pambase-no-systemd-home/PKGBUILD @@ -0,0 +1,26 @@ +arch=('any') +pkgname=pambase-no-systemd-home +pkgver=20200721.1 +pkgrel=2 + +source=("https://arch.eckner.net/archlinux/pool/packages/pambase-$pkgver-$pkgrel-any.pkg.tar.zst") +md5sums=('2e7051c21147fb37db5b5ffb581e86d4') + +package() { + sed -i ' + /pam_systemd_home\.so/d + ' "$srcdir/etc/pam.d/system-auth" + mv "$srcdir/etc" "$pkgdir/" + + while read -r var eq value; do + [ "x$eq" = 'x=' ] || continue + case "$var" in + pkgdesc|url|license) + eval "$var"'="$value"' + ;; + backup) + backup+=("$value") + ;; + esac + done < "$srcdir/.PKGINFO" +} |