# Maintainer: Marko Korhonen pkgname=mkinitcpio-dropbear pkgver=0.0.4 pkgrel=1 pkgdesc='hook to install and enable the dropbear daemon in early userspace' arch=(any) url="https://github.com/grazzolini/$pkgname" license=(GPL3) depends=(dropbear psmisc) optdepends=( 'mkinitcpio-netconf: Network interface configuration' 'mkinitcpio-ppp: PPP interface configuration' 'openssh: Allows the use of the same host keys used for normal access' ) source=( "dropbear_hook" "dropbear_install" "LICENSE" ) changelog=ChangeLog sha256sums=('6c529408125bd0c446162f8d4a16d7262d6b39896d8e6f87d364f7b299203315' '51f44735be81a4488acd9b2b7713a3e61beddd9b167773db0e345adc3b8d693f' 'ac69d63ecc672c698582b0fc260dbfe42d71adcdab707f807c8e1113be11abd8') package() { install -Dm0644 dropbear_hook "$pkgdir/usr/lib/initcpio/hooks/dropbear" install -Dm0644 dropbear_install "$pkgdir/usr/lib/initcpio/install/dropbear" install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE }