1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 pkgname=mkinitcpio-utils
5 pkgdesc="Collection of Archlinux mkinitcpio utilities performing various tasks"
7 url="https://github.com/grazzolini/mkinitcpio-utils"
10 optdepends=('mkinitcpio-dropbear: Allow the encryptssh hook to unlock a root container remotely using dropbear'
11 'mkinitcpio-tinyssh: Allow the encryptssh hook to unlock a root container remotely using tinyssh')
13 source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha512sums=('15e9cae788df4727dc148090831e0bfaeefd0ecae49ac9f0cbab4ded4639841d151cd291658055d9385a8f49bb91aee1d6ab8d5f6b0cc161586a9e355457cad0')
17 install -Dm755 "$srcdir/$pkgname-$pkgver/utils/shells/cryptsetup_shell" "$pkgdir/usr/share/$pkgname/utils/shells/cryptsetup_shell"
18 install -Dm644 "$srcdir/$pkgname-$pkgver/README.md" "$pkgdir/usr/share/$pkgname/README.md"
19 install -Dm644 "$srcdir/$pkgname-$pkgver/initcpio/hooks/encryptssh" "$pkgdir/usr/lib/initcpio/hooks/encryptssh"
20 install -Dm644 "$srcdir/$pkgname-$pkgver/initcpio/install/encryptssh" "$pkgdir/usr/lib/initcpio/install/encryptssh"
21 install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"