1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
3 # Contributor: Mico Tischler <mt-ml at gmx dot net>
4 # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
9 pkgdesc="Tools to add signatures to EFI binaries and Drivers"
11 url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/about"
13 depends=('glibc' 'openssl')
14 makedepends=('git' 'gnu-efi' 'help2man' 'util-linux-libs')
15 source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git#tag=v${pkgver}?signed"
16 "git+https://git.ozlabs.org/ccan"
17 "0.9.4-fix-pe-coff-checksum.patch"
21 'b6b56c5568bcc51ae3c0dea9af02bc840241d2405c300c5b7adcb61962dadf01')
22 validpgpkeys=('D5606E73C8B46271BEAD9ADF814AE47C214854D6') # James Bottomley <jejb@kernel.org>
27 git config submodule."lib/ccan.git".url "${srcdir}/ccan"
31 # https://git.launchpad.net/ubuntu/+source/sbsigntool/patch/?id=e9f13a7c4c19ed4ef12f226821bbcd2295d1af73
32 patch -Np1 -i "${srcdir}"/0.9.4-fix-pe-coff-checksum.patch
37 ./configure --prefix="/usr" \
39 --sbindir="/usr/bin" \
40 --libexecdir="/usr/lib" \
41 --mandir="/usr/share/man" \
47 depends+=('libuuid.so')
49 make DESTDIR="${pkgdir}" install
50 install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
51 -t "${pkgdir}/usr/share/doc/${pkgname}"