hstr icon indicating copy to clipboard operation
hstr copied to clipboard

hstr is not architecture-independent

Open imp- opened this issue 7 years ago • 2 comments

The resulting archlinux package is not architecture-independent. Therefore the architecture in the PKGBUILD should at least be set to archlinux's only supported architecture: x86_64.

imp- avatar Jan 13 '19 18:01 imp-

@imp- thank you for the contribution!

However, I would like to know, how can I fix the PKGBUILD to make it architecture independent. HSTR can be build on ARM, i386 and amd64 (and possibly other HW platforms). What's wrong?

dvorka avatar Jan 14 '19 21:01 dvorka

In a pkgbuild you should only use 'any' as an architecture if the compiled state of the package is architecture-independent (see arch wiki).

As this is not the case for hstr, the 'arch' value in the pkgbuild should list all architectures. I've added more architectures, suitable for archlinux32 and archlinuxarm in commit 68e5514

imp- avatar Jan 17 '19 16:01 imp-

Thank you for the contribution!

dvorka avatar Dec 11 '22 19:12 dvorka