blob: f20c86e840be87807310a16dc0e47658e552845e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer Joel Klinghed <the_jk at spawned dot biz>
pkgname=claudemon-git
pkgver=r4.3d6e8ee
pkgrel=1
pkgdesc="Claude Code state monitor"
url="https://git.spawned.biz/claudemon.git/"
license=("MIT")
arch=("x86_64")
depends=("rapidjson>=1.1" "sdbus-cpp>=2.0" "libxcb>=1.14" "xcb-util>=0.4" "xcb-util-keysyms>=0.4" "libxkbcommon-x11>=1.0.3")
optdepends=("xcb-util-xrm>=1.0")
makedepends=("meson" "git")
conflicts=("claudemon")
provides=("claudemon=${pkgver}")
source=("claudemon-git::git+https://git.spawned.biz/claudemon.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
meson setup --prefix=/usr --buildtype=release "$srcdir"/claudemon-git build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|