Package Details: cosmic-ext-flux 3.1.1-3

Git Clone URL: https://aur.archlinux.org/cosmic-ext-flux.git (read-only, click to copy)
Package Base: cosmic-ext-flux
Description: Animated desktop wallpapers for COSMIC — play any video or GIF as your background.
Upstream URL: https://github.com/franz-net/cosmic-ext-flux
Licenses: GPL
Submitter: rebelinux
Maintainer: rebelinux
Last Packager: rebelinux
Votes: 0
Popularity: 0.000000
First Submitted: 2026-07-05 13:54 (UTC)
Last Updated: 2026-07-06 16:10 (UTC)

Latest Comments

rebelinux commented on 2026-07-06 14:32 (UTC)

Hi,

I'll be making the necessary changes.

Thanks for the recommendations.

Regards,

AngelSherry commented on 2026-07-06 14:01 (UTC)

Hi, please do not install files directly to $HOME (~/.local/...) inside the package() function.

This violates the Arch Packaging Guidelines. Installing directly to $HOME leaves $pkgdir empty (resulting in an empty .pkg.tar.zst package), bypasses pacman file tracking, and breaks compatibility when $HOME is redirected in makepkg.conf.

All files should be installed under $pkgdir instead. Here is the fixed package() function:

package() {
    cd "$pkgname-$pkgver"

    install -Dm755 target/release/cosmic-ext-flux-daemon -t "$pkgdir/usr/bin/"
    install -Dm755 target/release/cosmic-ext-applet-flux -t "$pkgdir/usr/bin/"

    install -Dm644 applet/resources/app.desktop \
        "$pkgdir/usr/share/applications/io.github.franz_net.CosmicExtAppletFlux.desktop"

    install -Dm644 applet/resources/icon.svg \
        "$pkgdir/usr/share/icons/hicolor/scalable/apps/io.github.franz_net.CosmicExtAppletFlux.svg"
    install -Dm644 applet/resources/icon-stopped.svg \
        "$pkgdir/usr/share/icons/hicolor/scalable/apps/io.github.franz_net.CosmicExtAppletFlux-stopped.svg"

    install -Dm644 data/cosmic-ext-flux-daemon.service \
        "$pkgdir/usr/lib/systemd/user/cosmic-ext-flux-daemon.service"
}

Could you please update the PKGBUILD? Thanks!