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

David Runge dvzrv at gemini.archlinux.org
Wed Dec 29 10:37:11 UTC 2021


    Date: Wednesday, December 29, 2021 @ 10:37:11
  Author: dvzrv
Revision: 433232

upgpkg: brltty 6.4-7: Rebuild to make build more reliable.

Set jobs to 1 for all install targets, as they are otherwise not reliable.
Add X11 integration to backup array so that users can edit the script.

Modified:
  brltty/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-28 21:25:58 UTC (rev 433231)
+++ PKGBUILD	2021-12-29 10:37:11 UTC (rev 433232)
@@ -6,7 +6,7 @@
 
 pkgname=brltty
 pkgver=6.4
-pkgrel=6
+pkgrel=7
 pkgdesc="Braille display driver for Linux/Unix"
 arch=(x86_64)
 url="https://brltty.app"
@@ -31,7 +31,10 @@
   'tcl: tcl support'
 )
 provides=(libbrlapi.so)
-backup=(etc/brltty.conf)
+backup=(
+  etc/brltty.conf
+  etc/X11/xinit/xinitrc.d/90xbrlapi
+)
 options=(!emptydirs)
 install=brltty.install
 source=("https://brltty.app/archive/${pkgname}-${pkgver}.tar.bz2"
@@ -73,11 +76,12 @@
   libgobject-2.0.so libicuuc.so libgpm.so libncursesw.so libsystemd.so)
 
   cd "${pkgname}-${pkgver}"
-  make INSTALL_ROOT="${pkgdir}" install
-  make INSTALL_ROOT="${pkgdir}" install-systemd
-  make INSTALL_ROOT="${pkgdir}" install-udev
-  make INSTALL_ROOT="${pkgdir}" install-dracut
-  make INSTALL_ROOT="${pkgdir}" install-polkit
+  # installation does not work reliably with many cores, so set jobs to 1
+  make -j1 INSTALL_ROOT="${pkgdir}" install
+  make -j1 INSTALL_ROOT="${pkgdir}" install-systemd
+  make -j1 INSTALL_ROOT="${pkgdir}" install-udev
+  make -j1 INSTALL_ROOT="${pkgdir}" install-dracut
+  make -j1 INSTALL_ROOT="${pkgdir}" install-polkit
   install -vDm 644 "Documents/${pkgname}.conf" -t "${pkgdir}/etc/"
 
   # fix directory permission and ownership



More information about the arch-commits mailing list