Package Details: uefitool-ng-git r629.0030ea9-2

Git Clone URL: https://aur.archlinux.org/uefitool-ng-git.git (read-only, click to copy)
Package Base: uefitool-ng-git
Description: UEFI firmware image viewer and editor and utilities (new engine)
Upstream URL: https://github.com/LongSoft/UEFITool
Licenses: BSD-2-Clause
Conflicts: uefitool-ng
Provides: uefitool-ng
Submitter: fox8091
Maintainer: dujemiha
Last Packager: dujemiha
Votes: 2
Popularity: 0.000000
First Submitted: 2019-03-12 11:23 (UTC)
Last Updated: 2024-10-24 13:56 (UTC)

Latest Comments

c0d3z3r0 commented on 2023-10-03 14:44 (UTC)

@rhysperry111 I guess it's better to use make instead of cmake --build . so the MAKEFLAGS get used

rhysperry111 commented on 2023-04-17 17:41 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index d071f26..6b08372 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
 pkgname=uefitool-ng-git
 _pkgname=uefitool-ng
 _tools=('UEFITool' 'UEFIExtract' 'UEFIFind')
-pkgver=r367.2cbd78f
+pkgver=r584.f1b0cae
 pkgrel=1
 pkgdesc='UEFI firmware image viewer and editor and utilities'
 arch=('any')
 url='https://github.com/LongSoft/UEFITool'
 branch='new_engine'
 license=('BSD')
-depends=('qt5-base')
-makedepends=('git' 'qt5-base' 'cmake')
+depends=('qt6-base')
+makedepends=('git' 'qt6-base' 'cmake')
 provides=($_pkgname)
 conflicts=($_pkgname)
 source=("${_pkgname}::git+${url}#branch=${branch}")
@@ -24,19 +24,17 @@ pkgver() {

 build() {
   cd "$srcdir/$_pkgname"
-  ./unixbuild.sh --configure
-  for tool in "${_tools[@]}"; do
-    cd "$tool"
-    make
-    cd ..
-  done
+  mkdir -p build
+  cd build
+  cmake -DCMAKE_BUILD_TYPE=Release ..
+  cmake --build .
 }

 package() {
   cd "$srcdir/$_pkgname"
   # Tools
   for tool in "${_tools[@]}"; do
-    install -D -m755 "$tool/$tool" "$pkgdir/usr/bin/${tool,,}-ng"
+    install -D -m755 "build/$tool/${tool,,}" "$pkgdir/usr/bin/${tool,,}-ng"
   done
   # License
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

The following diff works for me

rhysperry111 commented on 2023-04-17 14:23 (UTC)

The file was removed as part of the transition away from qt5. Standard build commands should be used now. Will this package be updated?

<deleted-account> commented on 2023-03-21 00:45 (UTC)

==> Starting build()...
 /pkgbuilds/uefitool-ng-git/PKGBUILD: line 27: ./unixbuild.sh: No such file or directory

c0d3z3r0 commented on 2022-09-25 16:40 (UTC)

PKGBUILD needs a fix:

@@ -26,9 +26,9 @@ build() {
   cd "$srcdir/$_pkgname"
   ./unixbuild.sh --configure
   for tool in "${_tools[@]}"; do
-    cd "$tool"
+    cd "build/$tool"
     make
-    cd ..
+    cd ../..
   done
 }

@@ -36,7 +36,7 @@ package() {
   cd "$srcdir/$_pkgname"
   # Tools
   for tool in "${_tools[@]}"; do
-    install -D -m755 "$tool/$tool" "$pkgdir/usr/bin/${tool,,}-ng"
+    install -D -m755 "build/$tool/$tool" "$pkgdir/usr/bin/${tool,,}-ng"
   done
   # License
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

fox8091 commented on 2019-04-01 06:23 (UTC)

Apologies about that. It's been fixed.

feherneoh commented on 2019-03-31 06:19 (UTC)

Building this requires cmake, but it's not on the build time dependency list