# 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' '6e6fcb6a1f3b1ffae85a8b72b56b8fd2b221777713d221641d8cbfd2ad5637b3' '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 }