35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'yambar'
|
|
pkgname=yambar
|
|
version=1.6.2
|
|
revision=2
|
|
wrksrc=$pkgname
|
|
build_style=meson
|
|
hostmakedepends="pkg-config scdoc wayland-devel"
|
|
makedepends="alsa-lib-devel eudev-libudev-devel libxcb-devel libyaml-devel
|
|
pixman-devel fcft-devel json-c-devel libmpdclient-devel tllist wayland-devel
|
|
wayland-protocols xcb-util-devel xcb-util-cursor-devel xcb-util-wm-devel"
|
|
checkdepends="xvfb-run liberation-fonts-ttf"
|
|
short_desc="Modular status panel for X11 and Wayland, inspired by polybar"
|
|
maintainer="travankor <travankor@tuta.io>"
|
|
license="MIT"
|
|
homepage="https://codeberg.org/dnkl/yambar"
|
|
changelog="https://codeberg.org/dnkl/yambar/raw/branch/master/CHANGELOG.md"
|
|
distfiles="https://codeberg.org/dnkl/yambar/archive/${version}.tar.gz"
|
|
checksum=cb0813d5f8ce72d536e5b0714c773fd2b3ea0cb5e22b020b9ec0e33645040d3c
|
|
|
|
do_check() {
|
|
xvfb-run ninja -C build/ test
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
yambar-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|