arch/pkg/de-p1st-pam/PKGBUILD

24 lines
771 B
Bash
Raw Permalink Normal View History

2022-04-15 15:58:49 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pam
_reponame=arch
pkgname="de-p1st-$_pkgname"
2022-04-15 17:54:32 +02:00
pkgver=0.0.5
2022-04-15 15:58:49 +02:00
pkgrel=1
pkgdesc="PAM configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=()
depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff)
makedepends=('git')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
2022-04-15 17:36:53 +02:00
install -Dm0544 system-login.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/pam.d/system-login.holoscript
install -Dm0544 faillock.conf.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/security/faillock.conf.holoscript
2022-04-15 15:58:49 +02:00
}