# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (Arch): Dave Reisner <dreisner@archlinux.org>

pkgname=pambase
pkgver=20210605
pkgrel=2
pkgrel+=.nonsystemd1
pkgdesc="Base PAM configuration for services"
arch=('any')
url="https://www.parabola.nu"
license=('GPL')
source=('system-auth'
        'system-local-login'
        'system-login'
        'system-remote-login'
        'system-services'
        'other')
backup=('etc/pam.d/system-auth'
        'etc/pam.d/system-local-login'
        'etc/pam.d/system-login'
        'etc/pam.d/system-remote-login'
        'etc/pam.d/system-services'
        'etc/pam.d/other')
sha256sums=('963ce90ee02eea2b10b90623a1dcd8ae7020ee6d1503771e2ea6142d1fe1c64c'
            '005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9'
            '85dfcde6339dfb9683ad2fffd8e34bd30c8d05d3a0be8565b05fb109bf4eba8d'
            '005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9'
            '6eb1acdd3fa9f71a7f93fbd529be57ea65bcafc6e3a98a06af4d88013fc6a567'
            'd5ed59ec2157c19c87964a162f7ca84d53c19fb2bd68d3fbc1671ba8d906346f')

package() {
  install -dm755 "$pkgdir/etc/pam.d"
  install -m644 -t "$pkgdir/etc/pam.d" "${source[@]}"
}

# vim:set ts=2 sw=2 et:
