Package Details: hhd-ui 2.2.3-1

Git Clone URL: https://aur.archlinux.org/hhd-ui.git (read-only, click to copy)
Package Base: hhd-ui
Description: Configurator interface for Handheld Daemon.
Upstream URL: https://hhd.dev
Licenses: GPL-3.0-or-later
Conflicts: hhd-ui
Submitter: antheas
Maintainer: antheas
Last Packager: antheas
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-19 14:41 (UTC)
Last Updated: 2024-04-09 17:22 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

antheas commented on 2024-04-06 07:53 (UTC)

Good catches. Fixed!

th3raid0r commented on 2024-04-06 01:09 (UTC) (edited on 2024-04-06 01:10 (UTC) by th3raid0r)

One more thing I found - compared to the other build files, it seems we are running the sed command against the wrong package.json file - instead of simply package.json I think this needs to be electron/package.json like the rpm spec. It also needs to be escaped since you are using double quotes to encapsulate your sed expression.

    sed -i "s|"version": "1.0.0"|"version": "${pkgver}"|" "package.json"

should instead be:

    sed -i "s|\"version\": \"1.0.0\"|\"version\": \"${pkgver}\"|" "./electron/package.json"

th3raid0r commented on 2024-04-05 23:09 (UTC) (edited on 2024-04-05 23:12 (UTC) by th3raid0r)

Most recent version breaks with:

==> Starting prepare()...
sed: can't read ./aur/hhd-ui.sh: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: hhd-ui-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
hhd-ui - exit status 4

Updating this pkgbuild command to use ./pkg/hhd-ui.sh was how I was able to fix it.