cruxports/waybar/Pkgfile

20 lines
667 B
Plaintext
Raw Normal View History

2022-03-11 15:47:41 -05:00
# Description: sway status bar with improved system tray
# URL: https://github.com/Alexays/Waybar/
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-04-26 07:51:12 -04:00
# Depends on: chrono-date gtk-layer-shell gtkmm3 jsoncpp scdoc spdlog
2022-03-11 15:47:41 -05:00
# Optional: sndio pulseaudio libappindicator-gtk3 catch2 libmpdclient libdbusmenu-gtk3
name=waybar
version=0.9.9
release=1
source=(https://github.com/Alexays/Waybar/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
prt-get isinst catch2 || PKGMK_WAYBAR="-D tests=disabled"
cd Waybar-$version
meson --buildtype=release --prefix=/usr build $PKGMK_WAYBAR
ninja -C build
DESTDIR=$PKG ninja -C build install
}