-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
19 lines (18 loc) · 1.12 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=mkinitcpio-remote-cryptroot
pkgver=0.0.1
pkgrel=1
pkgdesc="A systemd init (systemd hook) based implementation for booting a LUKS-encrypted system remotely"
arch=("any")
url="https://github.com/rwanyoike/mkinitcpio-remote-cryptroot"
license=("MIT")
depends=("openssh" "tinyssh" "tinyssh-keyconvert")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/master.tar.gz")
sha512sums=("SKIP")
package() {
install -Dm644 "${srcdir}/${pkgname}-master/initrd-network.service" "${pkgdir}/usr/lib/systemd/system/initrd-network.service"
install -Dm644 "${srcdir}/${pkgname}-master/initrd-network_install" "${pkgdir}/usr/lib/initcpio/install/network"
install -Dm644 "${srcdir}/${pkgname}-master/initrd-tinyssh.service" "${pkgdir}/usr/lib/systemd/system/initrd-tinyssh.service"
install -Dm644 "${srcdir}/${pkgname}-master/initrd-tinyssh_install" "${pkgdir}/usr/lib/initcpio/install/tinyssh"
install -Dm644 "${srcdir}/${pkgname}-master/initrd-password-agent_install" "${pkgdir}/usr/lib/initcpio/install/password-agent"
install -Dm644 "${srcdir}/${pkgname}-master/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}