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 +}