# Description: Customisable Wayland bar for wlroots-based compositors
# URL: https://github.com/alexays/waybar
# Maintainer: poq <jbloomfield at live dot com>
# Depends on: gtkmm3 jsoncpp wayland fmt spdlog gobject-introspection pulseaudio libnl libayatana-appindicator ayatana-ido libayatana-indicator libmpdclient libdbusmenu-gtk3 wayland-protocols meson

name=waybar
version=git-48ec834
release=48ec834
version=1
source=()

gitsource=https://github.com/alexays/waybar

build() {
    cd $PKGMK_SOURCE_DIR

    if cd $name; then
        git reset --hard
        git pull $gitsource
    else
        git clone $gitsource $name
        cd $name
    fi


    meson build --prefix=/usr
    ninja -C build
    DESTDIR=$PKG ninja -C build install
}

# vim: set ft=sh ts=4 et: