1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
3 # Contributor: Mirco Tischler <mt-ml at gmx dot de>
4 # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
9 pkgdesc="Tools for manipulating UEFI secure boot platforms"
10 url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/about/"
12 license=('GPL2' 'LGPL2.1')
13 makedepends=('git' 'gnu-efi-libs' 'help2man' 'perl-file-slurp' 'sbsigntools')
14 depends=('glibc' 'openssl')
15 source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/$pkgname.git#tag=v${pkgver}?signed"
16 "${pkgname}-1.9.2-console_warning_typo.patch")
18 '9e609eb4fb2a7116166626d15470d66e2eb66a25867618d4065d48636304f88549a71c5e827ac92750183f0fabaa3b84beea3dffa905031a2867939bfae955e7')
19 validpgpkeys=('D5606E73C8B46271BEAD9ADF814AE47C214854D6') # James Bottomley <jejb@kernel.org>
22 mv -v "${pkgname}" "${pkgname}-${pkgver}"
23 cd "${pkgname}-${pkgver}"
24 patch -Np1 -i "../${pkgname}-1.9.2-console_warning_typo.patch"
28 cd "${pkgname}-${pkgver}"
29 # fix PreLoader.efi building on x86_64 #49314
30 export ARCH="${CARCH}"
35 cd "${pkgname}-${pkgver}"
36 make DESTDIR="${pkgdir}" install
37 install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"