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") sha512sums=('44fcf1a087d76209a5299267d090a84a907a5afd300394b0e7b53961ec41091e3ef28309efcc0ee1c1fce306363eb38f5d4ec424c6a6955feb5c1a5a9c1bbfc9') provides=("pambase=$pkgver-$pkgrel") 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" }