1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 pkgname=mkinitcpio-tinyssh
5 pkgdesc="Archlinux mkinitcpio hook to install and enable the tinyssh daemon in early userspace"
7 url="https://github.com/grazzolini/mkinitcpio-tinyssh"
9 depends=('mkinitcpio-busybox' 'psmisc' 'tinyssh')
10 optdepends=('mkinitcpio-netconf: Network interface configuration'
11 'tinyssh-convert: For converting OpenSSH keys')
12 conflicts=('mkinitcpio-dropbear')
13 source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v$pkgver.tar.gz"
14 "${pkgname}-${pkgver}.tar.gz.sig::$url/releases/download/v$pkgver/v$pkgver.tar.gz.sig")
16 sha512sums=('465d4beb3ddfb1c5372ff04486caa37b4fd2bd4dbb55a2231e47cc45eec76b112167385681e6dd4f3c3b6858537014c62c1d0776c4990559aebafff0b01ffdd9'
18 validpgpkeys=('ED2A707C15D4A9E57535C1E7354AAB6377B981BC') # Giancarlo Razzolini <grazzolini@gmail.com>
21 install -Dm644 "$srcdir/$pkgname-$pkgver/tinyssh_hook" "$pkgdir/usr/lib/initcpio/hooks/tinyssh"
22 install -Dm644 "$srcdir/$pkgname-$pkgver/tinyssh_install" "$pkgdir/usr/lib/initcpio/install/tinyssh"
23 install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"