aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44691dd2c6f76d06175a71680a9356b1867f97c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Max Resch <resch.max@gmail.com>
# Maintainer: Corey Hinshaw <coreyhinshaw@gmail.com>

pkgname=mkinitcpio-tpm-encrypt
pkgver=1.0
pkgrel=1
pkgdesc="mkinitcpio hook that decrypts a TPM-sealed LUKS keyfile"
url="https://aur.archlinux.org/packages/mkinitcpio-tpm-encrypt/"
arch=(any)
license=('GPL')
depends=('mkinitcpio' 'tpm-tools' 'trousers')
source=('install_tpm'
        'hook_tpm'
        'hosts'
        'passwd'
        'README')

sha256sums=('96ca20898dd38c4828da7e9dede1d09bd752a4f8961420f0a064e74cf9a4b711'
            '32ef6c10d64b3af1e83dee1583d15d22d9b192ad5710c56e544c8cdb2e49185f'
            'b30167ccb1927f0f62dfb658fee49ba857b3f7b85cc6a4d3c659236bb01b1a03'
            '4b263523f4904bfe340a3208f327697ebd78f9f921e8be0dabdf33535c54a1b5'
            'c3e777c9d620927045991a88723b06d2947ced566ce6404239662006b9e186c6')

package() {
  install -Dm644 install_tpm "${pkgdir}/usr/lib/initcpio/install/tpm"
  install -Dm644 hook_tpm "${pkgdir}/usr/lib/initcpio/hooks/tpm"
  install -Dm644 hosts "${pkgdir}/usr/lib/initcpio/tpm/hosts"
  install -Dm644 passwd "${pkgdir}/usr/lib/initcpio/tpm/passwd"
  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}