forked from dnkl/yambar
Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
796 B
34 lines
796 B
pkgname=yambar-wayland |
|
pkgver=1.6.1 |
|
pkgrel=1 |
|
pkgdesc="Simplistic and highly configurable status panel for Wayland" |
|
arch=('x86_64' 'aarch64') |
|
url=https://codeberg.org/dnkl/yambar |
|
license=(mit) |
|
conflicts=('yambar') |
|
provides=('yambar') |
|
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1') |
|
depends=( |
|
'wayland' |
|
'pixman' |
|
'libyaml' |
|
'alsa-lib' |
|
'libudev.so' |
|
'json-c' |
|
'libmpdclient' |
|
'fcft>=2.4.0') |
|
source=() |
|
|
|
pkgver() { |
|
cd ../.git &> /dev/null && git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || |
|
head -3 ../meson.build | grep version | cut -d "'" -f 2 |
|
} |
|
|
|
build() { |
|
meson --buildtype=release --prefix=/usr --wrap-mode=nofallback -Db_lto=true -Dbackend-x11=disabled -Dbackend-wayland=enabled ../ |
|
ninja |
|
} |
|
|
|
package() { |
|
DESTDIR="${pkgdir}/" ninja install |
|
}
|
|
|