From 316de809b20849ec870fd436b985538568684b74 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Thu, 24 Nov 2016 00:47:42 -0500 Subject: [PATCH] Add cryptsetup-multidisk --- src/cryptsetup-multidisk/.SRCINFO | 12 ++++++++++++ src/cryptsetup-multidisk/PKGBUILD | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/cryptsetup-multidisk/.SRCINFO create mode 100644 src/cryptsetup-multidisk/PKGBUILD diff --git a/src/cryptsetup-multidisk/.SRCINFO b/src/cryptsetup-multidisk/.SRCINFO new file mode 100644 index 0000000..e58202c --- /dev/null +++ b/src/cryptsetup-multidisk/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = cryptsetup-multidisk + pkgdesc = Handle multiple encrypted root devices + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/moparisthebest/archlinux_encrypthook + arch = any + license = GPL3 + source = https://codeload.github.com/moparisthebest/archlinux_encrypthook/tar.gz/v1.0 + sha256sums = e38eed40eadfa7dadd697cbe6d06845edad35fcc37f910e5323d5b89fce5ef67 + +pkgname = cryptsetup-multidisk + diff --git a/src/cryptsetup-multidisk/PKGBUILD b/src/cryptsetup-multidisk/PKGBUILD new file mode 100644 index 0000000..bdee8c3 --- /dev/null +++ b/src/cryptsetup-multidisk/PKGBUILD @@ -0,0 +1,17 @@ +# Contributor: moparisthebest + +pkgname=cryptsetup-multidisk +pkgver=1.0 +pkgrel=1 +pkgdesc='Handle multiple encrypted root devices' +arch=('any') +license=('GPL3') +url="https://github.com/moparisthebest/archlinux_encrypthook" +source=("https://codeload.github.com/moparisthebest/archlinux_encrypthook/tar.gz/v$pkgver") +sha256sums=('e38eed40eadfa7dadd697cbe6d06845edad35fcc37f910e5323d5b89fce5ef67') + +package() { + cd "archlinux_encrypthook-$pkgver" + install -D -m644 encrypt_hook "${pkgdir}"/usr/lib/initcpio/hooks/encrypt-multidisk + install -D -m644 encrypt_install "${pkgdir}"/usr/lib/initcpio/install/encrypt-multidisk +}