# Maintainer: Alexis Rouillard pkgname=waybar-git pkgver=r636.67593b8 pkgrel=1 pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors (GIT)' arch=('x86_64') url='https://github.com/Alexays/Waybar/' license=('MIT') provides=('waybar') conflicts=('waybar') depends=( 'gtkmm3' 'libjsoncpp.so' 'libinput' 'libsigc++' 'fmt' 'wayland' 'chrono-date' 'libspdlog.so' 'gtk-layer-shell' 'libpulse' 'libnl' 'libappindicator-gtk3' 'libdbusmenu-gtk3' 'libmpdclient' ) makedepends=( 'git' 'cmake' 'meson' 'scdoc' # For generating manpages 'wayland-protocols' ) optdepends=( 'otf-font-awesome: Icons in the default configuration' ) source=("${pkgname}::git://github.com/Alexays/Waybar") sha1sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "${srcdir}/${pkgname}" } build() { cd "${srcdir}/${pkgname}" rm -rf "${srcdir}/build" meson --prefix=/usr "${srcdir}/build" ninja -C "${srcdir}/build" } package() { DESTDIR="$pkgdir" ninja -C "${srcdir}/build" install }