Package Details: chameleos-git 0.1.0.r1.g4663dab-1

Git Clone URL: https://aur.archlinux.org/chameleos-git.git (read-only, click to copy)
Package Base: chameleos-git
Description: Screen annotation tool for niri and Hyprland
Upstream URL: https://github.com/Treeniks/chameleos
Licenses: MIT
Conflicts: chameleos, chameleos-bin
Provides: chamel, chameleos
Submitter: teraflops
Maintainer: Treeniks
Last Packager: Treeniks
Votes: 1
Popularity: 0.85
First Submitted: 2025-11-13 22:36 (UTC)
Last Updated: 2025-11-17 22:51 (UTC)

Required by (0)

Sources (1)

Latest Comments

teraflops commented on 2025-11-17 22:15 (UTC)

done

Treeniks commented on 2025-11-17 21:39 (UTC)

I'd appreciate it, then I can just adjust it myself when I make a change like that.

teraflops commented on 2025-11-17 15:59 (UTC)

I can orphan the pkgbuild so you can take care if it if you feel mor comfortable. Just tell me

Treeniks commented on 2025-11-17 12:45 (UTC)

I was just in the process or creating PKGBUILDs and turns out someone already did! I just pushed some significant changes upstream (didn't expect anyone would use this already). License is now MIT, instead of separating chameleos and chamel they're now just separate binaries in the same crate and I've created an 0.1.0 release on Github.

This is the PKGBUILD I came up with before I saw this package:

pkgname=chameleos-git
pkgver=0.1.0.r0.g9624867
pkgrel=1
pkgdesc='Screen annotation tool for niri and Hyprland'
arch=('x86_64' 'aarch64')
url='https://github.com/Treeniks/chameleos'
license=('MIT')
depends=('wayland')
makedepends=('cargo' 'rust' 'git')
provides=('chameleos' 'chamel')
conflicts=('chameleos' 'chameleos-bin')
source=("$pkgname::git+$url")
options=(!debug)
sha256sums=(SKIP)

pkgver() {
    cd "$pkgname"
    git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd "$pkgname"
    cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

build() {
    cd "$srcdir/$pkgname"
    cargo build --frozen --release
}

package() {
    cd "$srcdir/$pkgname"

    install -Dm755 "target/release/chameleos" "$pkgdir/usr/bin/chameleos"
    install -Dm755 "target/release/chamel" "$pkgdir/usr/bin/chamel"

    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}