Looking at the PKGBUILD, I noticed that no entry in /usr/bin
is ever made. The result of this is that the configurator can't be started with programs like dmenu or when started directly via a terminal.
I solved this by adding these lines
install -d "${pkgdir}/usr/bin/"
install -Dm 755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
at the end of the package()
function in the PKGBUILD.
Additionally, a expresslrs-configurator.sh
file is needed in $srcdir
looking like this:
!#/bin/sh
/opt/ExpressLRS\ Configurator/expresslrs-configurator
With these changes added, one can successfully open the configurator via a terminal or f.E. dmenu.
Pinned Comments
dpeukert commented on 2023-08-11 07:50 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/expresslrs-configurator