This commit is contained in:
Daniel Langbein 2021-06-12 23:34:18 +02:00
parent 89709f43f8
commit 62ad378611
2 changed files with 4 additions and 3 deletions

View File

@ -2,14 +2,14 @@
_pkgname=ssh _pkgname=ssh
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.1 pkgver=0.0.2
pkgrel=1 pkgrel=1
pkgdesc="ssh with configuration" pkgdesc="ssh with configuration"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT') license=('MIT')
depends=('openssh' 'systemd') depends=('openssh' 'systemd')
depends+=('holo' 'git' 'base') # holo and its dependencies: git for holo-diff; without base "holo apply" may fail on initial system installation depends+=('holo' 'git' 'base') # holo and its dependencies: git because of git-diff; without base "holo apply" may fail on initial system installation
makedepends=('git') makedepends=('git')
install='.install' install='.install'
source=("git+${url}.git") source=("git+${url}.git")
@ -18,5 +18,6 @@ sha256sums=('SKIP')
package() { package() {
cd "${_reponame}/pkg/${pkgname}" cd "${_reponame}/pkg/${pkgname}"
install -Dm0544 sshd_config.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/ssh/sshd_config.holoscript
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
} }

View File

@ -10,7 +10,7 @@ url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT') license=('MIT')
groups=() groups=()
depends=() depends=()
depends+=('holo' 'git' 'base') # holo and its dependencies: git for holo-diff; without base "holo apply" may fail on initial system installation depends+=('holo' 'git' 'base') # holo and its dependencies: git because of git-diff; without base "holo apply" may fail on initial system installation
makedepends=('git') # to fetch source(s) via git makedepends=('git') # to fetch source(s) via git
optdepends=() optdepends=()
provides=() provides=()