pop-os / cosmic-applets

WIP applets for cosmic-panel
GNU General Public License v3.0
215 stars 86 forks source link

Multicall support broke packaging on arch #289

Closed Quackdoc closed 7 months ago

Quackdoc commented 7 months ago

Im not sure if I am packging it wrong, however when installing using just rootdir=$pkgdir install it causes it to link to /usr/bin/cosmic-applet-audio -> /home/quack/.cache/paru/clone/repo/quackpkg/cosmic-epoch/cosmic-applets-git/pkg/cosmic-applets-git/usr/bin/cosmic-applets

I'm not sure if there is a different way I should be packaging it, or if this is a bug in the justfile

EDIT: changing cosmic-applets-bin := bindir / 'cosmic-applets' to cosmic-applets-bin := 'cosmic-applets' seems to work, but im not sure if that will break anything else, ideally I guess there would be something like below?

prebindir := prefix + '/bin'
cosmic-applets-bin := prebindir / 'cosmic-applets'
Drakulix commented 7 months ago

Yeah, I think we shouldn't include the rootdir in the link. Mind creating a PR?