blob: 35d91a1477b2ee4f4806bb029fbcfb5515c4ac0a (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: VanillaGreen <brad@vanillagreen.com>
pkgname=vsys-git
pkgver=0.10.0.r674.g78dfaf9
pkgrel=1
pkgdesc="Terminal dashboard for Linux machines that run AI agents (tracks main)"
arch=('x86_64' 'aarch64')
url="https://github.com/vanillagreencom/vsys"
license=('MIT')
depends=('python' 'systemd' 'systemd-libs' 'util-linux')
optdepends=('udisks2: drive lifetime writes where no smart report exists'
'tmux: lane pane reads and the jump to a lane'
'libnotify: desktop notifications for alerts'
'sccache: build cache statistics'
'btrfs-progs: the scrub reporter, which writes the damaged-file report'
'smartmontools: the smart reporter, which writes drive lifetime writes')
provides=('vsys')
conflicts=('vsys')
makedepends=('git' 'bun')
options=('!strip' '!debug')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "0.0.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
bun install --frozen-lockfile
bun run compile
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 vsys "${pkgdir}/usr/bin/vsys"
packaging/stage-runtime-files.sh "${pkgdir}/usr"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|