Add support for config file

This commit is contained in:
Marko Korhonen 2024-05-09 12:19:31 +03:00
parent 368afcdfd9
commit b9e033da09
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
4 changed files with 21 additions and 4 deletions

View file

@ -18,13 +18,15 @@ source=(
"dropbear_install"
"LICENSE"
)
backup=( "etc/dropbear/config" )
changelog=ChangeLog
sha256sums=('6c529408125bd0c446162f8d4a16d7262d6b39896d8e6f87d364f7b299203315'
'6e6fcb6a1f3b1ffae85a8b72b56b8fd2b221777713d221641d8cbfd2ad5637b3'
sha256sums=('9852ab6a3ba4191ed3eabbfebb2876fe7ff1003f62309043ec0b8b9374e3b9ee'
'3f6cb2c6edd2a5510e9d2366b68815b0d0f9d7cfc066c26c4b842af44d2024fd'
'ac69d63ecc672c698582b0fc260dbfe42d71adcdab707f807c8e1113be11abd8')
package() {
install -Dm0644 dropbear_hook "$pkgdir/usr/lib/initcpio/hooks/dropbear"
install -Dm0644 dropbear_install "$pkgdir/usr/lib/initcpio/install/dropbear"
install -Dm0644 dropbear_config "$pkgdir/etc/dropbear/config"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}