[arch-commits] Commit in efitools/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Feb 3 17:26:34 UTC 2022


    Date: Thursday, February 3, 2022 @ 17:26:34
  Author: dvzrv
Revision: 436119

upgpkg: efitools 1.9.2-4: Rebuild to fix problems with parallel builds.

Set to one job in build() as parallel builds seem to cause issues:
https://bugs.archlinux.org/task/73600
Simplify quoting in file.
Cleanups.

Modified:
  efitools/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-03 17:18:40 UTC (rev 436118)
+++ PKGBUILD	2022-02-03 17:26:34 UTC (rev 436119)
@@ -5,13 +5,13 @@
 
 pkgname=efitools
 pkgver=1.9.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Tools for manipulating UEFI secure boot platforms"
 url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/about/"
-arch=('x86_64')
-license=('GPL2' 'LGPL2.1')
-makedepends=('git' 'gnu-efi-libs' 'help2man' 'perl-file-slurp' 'sbsigntools')
-depends=('glibc' 'openssl')
+arch=(x86_64)
+license=(GPL2 LGPL2.1)
+makedepends=(git gnu-efi-libs help2man perl-file-slurp sbsigntools)
+depends=(glibc openssl)
 source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/$pkgname.git#tag=v${pkgver}?signed"
         "${pkgname}-1.9.2-console_warning_typo.patch")
 sha512sums=('SKIP'
@@ -19,20 +19,19 @@
 validpgpkeys=('D5606E73C8B46271BEAD9ADF814AE47C214854D6') # James Bottomley <jejb at kernel.org>
 
 prepare() {
-  mv -v "${pkgname}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}"
   patch -Np1 -i "../${pkgname}-1.9.2-console_warning_typo.patch"
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
   # fix PreLoader.efi building on x86_64 #49314
   export ARCH="${CARCH}"
-  make
+  # build with one job because the Makefile does not support parallel jobs ;_;
+  # https://bugs.archlinux.org/task/73600
+  make -j1 -C "${pkgname}"
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+  make DESTDIR="${pkgdir}" install -C "${pkgname}"
+  install -vDm 644 "${pkgname}/"README -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list