pkgname=linux-pam-base pkgver=$(date -u --iso | sed 's@-@@g') pkgrel=1 pkgdesc="Base PAM configuration for services" arch=('x86_64') url="https://www.futurelinux.xyz" license=('GPL-3.0-or-later') backup=(etc/pam.d/system-account etc/pam.d/system-auth etc/pam.d/system-session etc/pam.d/system-password etc/pam.d/other) source=(other system-account system-auth system-password system-session) sha256sums=(461e53f138a8e5d1ed20033f8d9363c56f2187ce2a0551d57860140da40e1697 a8295e4780b323cac83ca08c65c8cd47ca26e516d64ed857fd3f4ac1f1a8ccc4 e75c1412196cd8fadb996b38e207efc3092355efade0e7a3bfdba78c11fd508e e28cc90985dde73f1724cecd4afed979853e1e85e98210ccd24bbd67e143d214 11f9e8a824ad2c9bd17d4901ac14a55f118aacd51e35857bf637a50bcf6a7cfc) package() { for pamfile in other system-{account,auth,password,session} do install -vDm644 ${srcdir}/${pamfile} ${pkgdir}/etc/pam.d/${pamfile} done }