#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=pambase
pkgver=20230918
pkgrel=01
pkgdesc="Base PAM configuration for services"
arch=('any')
url="https://www.archlinux.org"
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')

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

#---- license gpg-key sha256sums ----

sha256sums=(a)

license=(GPL-3.0-or-later)

sha256sums=(d3f6c7465198415df7bc3b365595642c7255dd69f2d7db548eb071123f43164c  # system-auth
	005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9  # system-local-login
	86365d603d4a50f30252888b6db8f0bb4b398900903ac61fca66385561e509e5  # system-login
	005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9  # system-remote-login
	6eb1acdd3fa9f71a7f93fbd529be57ea65bcafc6e3a98a06af4d88013fc6a567  # system-services
	d5ed59ec2157c19c87964a162f7ca84d53c19fb2bd68d3fbc1671ba8d906346f) #  other

##  743aaca14134bf4a9ce8d137d04e6a672264f22e9d2171ebb826251575a2604c  pambase-20230918-01-any.pkg.tar.lz

##  53da61c9888c9e0e15b5ca9aa35ae8447b84d854093df7394238b441d92ee286  # PKGBUILD
57550530b88c1dd49c1f13e7251b89ea2e51ab1e13529436b910506b10e8a942  # PKGBUILD.1
57550530b88c1dd49c1f13e7251b89ea2e51ab1e13529436b910506b10e8a942  # PKGBUILD-arch
