archrelease: copy trunk to extra-x86_64
[arch-packages.git] / efitools / repos / extra-x86_64 / PKGBUILD
blob65f7c825a7eb81d384fbede745f4b9e5a8cf0ed6
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)>
6 pkgname=efitools
7 pkgver=1.9.2
8 pkgrel=3
9 pkgdesc="Tools for manipulating UEFI secure boot platforms"
10 url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/about/"
11 arch=('x86_64')
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")
17 sha512sums=('SKIP'
18             '9e609eb4fb2a7116166626d15470d66e2eb66a25867618d4065d48636304f88549a71c5e827ac92750183f0fabaa3b84beea3dffa905031a2867939bfae955e7')
19 validpgpkeys=('D5606E73C8B46271BEAD9ADF814AE47C214854D6') # James Bottomley <jejb@kernel.org>
21 prepare() {
22   mv -v "${pkgname}" "${pkgname}-${pkgver}"
23   cd "${pkgname}-${pkgver}"
24   patch -Np1 -i "../${pkgname}-1.9.2-console_warning_typo.patch"
27 build() {
28   cd "${pkgname}-${pkgver}"
29   # fix PreLoader.efi building on x86_64 #49314
30   export ARCH="${CARCH}"
31   make
34 package() {
35   cd "${pkgname}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
37   install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"