From de474fc049b8ea9dc9e9756ca73b26d4be31aadf Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 6 May 2022 23:57:32 +0200 Subject: pcr: libreboot-utils: switch to make install This makes sure that all the tools are installed. Some tools like cbfstool also have other tools like fmaptool that are really useful. fmaptool can be used to work with Chromebook images for instance. Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/libreboot-utils/PKGBUILD | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'pcr') diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD index ca816f7b4..2da67582b 100644 --- a/pcr/libreboot-utils/PKGBUILD +++ b/pcr/libreboot-utils/PKGBUILD @@ -4,7 +4,7 @@ # Maintainers: Parabola hackers pkgname=libreboot-utils -pkgrel=5 +pkgrel=6 _upstream_ver=20211122 pkgver=4.15.libreboot${_upstream_ver} pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)" @@ -74,7 +74,6 @@ build() { # Build nvramtool. make -C nvramtool - } package() { @@ -92,19 +91,15 @@ package() { install -Dm755 bucts/bucts "${pkgdir}"/usr/bin/bucts # Install ECtool. - install -Dm755 ectool/ectool "${pkgdir}"/usr/bin/ectool + make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr # Install superiotool. - install -Dm755 superiotool/superiotool \ - "${pkgdir}"/usr/bin/superiotool - install -m644 superiotool/superiotool.8 \ - "${pkgdir}"/usr/share/man/man8 + make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr fi # Install cbfstool. - install -Dm755 cbfstool/cbfstool "${pkgdir}"/usr/bin/cbfstool + make -C cbfstool install DESTDIR="${pkgdir}" PREFIX=/usr # Install nvramtool. - install -Dm755 nvramtool/nvramtool "${pkgdir}"/usr/bin/nvramtool - install -m644 nvramtool/cli/nvramtool.8 "${pkgdir}"/usr/share/man/man8 + make -C nvramtool install DESTDIR="${pkgdir}" PREFIX=/usr } -- cgit v1.2.3