Package Details: bch-firmware-tool 1.9.0-2

Git Clone URL: https://aur.archlinux.org/bch-firmware-tool.git (read-only, click to copy)
Package Base: bch-firmware-tool
Description: HARDWARIO Firmware Tool
Upstream URL: https://github.com/hardwario/bch-firmware-tool
Keywords: bch bigclown hardwario
Licenses: MIT
Submitter: nixi
Maintainer: nixi
Last Packager: nixi
Votes: 0
Popularity: 0.000000
First Submitted: 2021-11-04 10:45 (UTC)
Last Updated: 2023-03-13 15:13 (UTC)

Latest Comments

mrms commented on 2024-09-22 20:49 (UTC)

Hi, I found an issue with this package: It fails to build because of the invalid version in setup.py. By default, it is set to @@VERSION@@ which causes an exception on my system. This can be fixed by running the provided build.sh script before the setup. I implement a fix:

diff --git a/PKGBUILD b/PKGBUILD
index ef35c46..225e517 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,6 +14,8 @@ sha256sums=('2d069752f09213869e8509f3d6075c472265cb89876c7842457c3bdf8c13f763')

 package() {
        cd "$srcdir/bch-firmware-tool-$pkgver"
+       ALLOW_ROOT="yes" PKG_VERSION=$pkgver ./build.sh
+       cd build/
        python setup.py install --root="$pkgdir/" --optimize=1
        install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }