yambar/PKGBUILD
Daniel Eklöf badf9b7622
meson: use simpler variant of dependency fallback for tllist+fcft
we now require tllist>=1.0.1 and fcft>=2.0.0, which both use
meson.override_dependency(). Thus, we can use the simpler form of
fallback in our dependency() call.s

This also updates the PKGBUILD files to require tllist>=1.0.1 and
fcft>=2.0.0
2020-04-24 20:19:16 +02:00

34 lines
862 B
Bash

pkgname=yambar
pkgver=1.4.0
pkgrel=1
pkgdesc="Simplistic and highly configurable status panel for X and Wayland"
arch=('x86_64')
url=https://codeberg.org/dnkl/yambar
license=(mit)
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
depends=(
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
'wayland' 'wlroots'
'pixman'
'libyaml'
'alsa-lib'
'libudev.so'
'json-c'
'libmpdclient'
'fcft>=2.0.0')
optdepends=('xcb-util-errors: better X error messages')
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=enabled -Dbackend-wayland=enabled ../
ninja
}
package() {
DESTDIR="${pkgdir}/" ninja install
}