Update cryptsetup-multidisk-ssh from aur

This commit is contained in:
moparisthebest
2016-12-20 23:20:14 -05:00
parent 3d8aafb333
commit 01667150db
3 changed files with 22 additions and 82 deletions
+13 -7
View File
@@ -6,13 +6,19 @@ pkgrel=1
pkgdesc='Handle multiple encrypted root devices with ssh shell'
arch=('any')
license=('GPL3')
optional=('mkinitcpio-dropbear' 'mkinitcpio-tinyssh')
url="https://github.com/moparisthebest/archlinux_encrypthook"
source=("https://codeload.github.com/moparisthebest/archlinux_encrypthook/tar.gz/v$pkgver" "encrypt_install")
sha256sums=('e38eed40eadfa7dadd697cbe6d06845edad35fcc37f910e5323d5b89fce5ef67'
'f97843c8ea18229361f89f13159c65bb4a0fc881589cc09a0433c66cf731052a')
depends=('cryptsetup')
optdepends=('mkinitcpio-dropbear: Allow the encryptssh hook to unlock a root container remotely using dropbear'
'mkinitcpio-tinyssh: Allow the encryptssh hook to unlock a root container remotely using tinyssh')
url="https://github.com/moparisthebest/cryptsetup-multidisk-ssh"
source=("https://codeload.github.com/moparisthebest/cryptsetup-multidisk-ssh/tar.gz/v$pkgver")
sha256sums=('a886feb187c398048f49e15b4ead113caa5dfb568ed842e9bbdc556f9bdff079')
package() {
install -D -m644 "archlinux_encrypthook-$pkgver/encrypt_hook" "${pkgdir}"/usr/lib/initcpio/hooks/encrypt-multidisk-ssh
install -D -m644 encrypt_install "${pkgdir}"/usr/lib/initcpio/install/encrypt-multidisk-ssh
cd "${pkgname}-$pkgver"
install -Dm644 encrypt_hook "${pkgdir}"/usr/lib/initcpio/hooks/encrypt-multidisk-ssh
install -Dm644 encrypt_install "${pkgdir}"/usr/lib/initcpio/install/encrypt-multidisk-ssh
install -Dm744 cryptsetup_shell "${pkgdir}/usr/share/$pkgname/bin/cryptsetup_shell"
install -Dm744 query_password "${pkgdir}/usr/share/$pkgname/bin/query_password"
install -Dm644 readme.md "${pkgdir}/usr/share/$pkgname/readme.md"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}