2024-01-31 22:04:46 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/FelixKratz/SketchyBar/archive/refs/tags/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: FelixKratz/SketchyBar
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
- darwin
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
github.com/koekeishiya/yabai: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
script:
|
|
|
|
- make $ARCH
|
|
|
|
- install -D bin/sketchybar {{prefix}}/bin/sketchybar
|
|
|
|
- install -D sketchybarrc {{prefix}}/etc/sketchybarrc.example
|
|
|
|
# unquoted variable in battery.sh
|
|
|
|
- run: sed -i -e 's/\[ \$PERCENTAGE /[ "$PERCENTAGE" /' battery.sh
|
|
|
|
working-directory: plugins
|
|
|
|
- cp -a plugins {{prefix}}/etc
|
|
|
|
env:
|
|
|
|
darwin/aarch64:
|
|
|
|
ARCH: arm64
|
|
|
|
darwin/x86-64:
|
2024-02-01 00:05:43 +03:00
|
|
|
ARCH: x86
|
2024-01-31 22:04:46 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/sketchybar
|
|
|
|
|
|
|
|
test:
|
|
|
|
- sketchybar --help
|
|
|
|
- test "$(sketchybar --version)" = "sketchybar-v{{version}}"
|