# Contributor: Cosmo Borsky # Maintainer: Cosmo Borsky pkgname="bemenu" pkgver="0.3.0" pkgrel=0 pkgdesc="Dynamic menu library and client program inspired by dmenu with support for wayland compositors" url="https://github.com/Cloudef/bemenu" arch="x86_64" license="GPL-3.0-or-later AND LGPL-3.0-or-later" depends_dev="libxkbcommon-dev libxinerama-dev ncurses-dev wayland-dev pango-dev" makedepends="cmake $depends_dev" subpackages="$pkgname-dev $pkgname-doc" source="bemenu-$pkgver.tar.gz::https://github.com/Cloudef/bemenu/archive/$pkgver.tar.gz" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DBEMENU_CURSES_RENDERER=ON \ -DBEMENU_X11_RENDERER=ON \ -DBEMENU_WAYLAND_RENDERER=ON make } check() { make test } package() { make DESTDIR="$pkgdir" install } sha512sums="7e68d11954517f41c9669055c28b375c4f13ddfee8aae6a8e67c3282fe9118229d9ab072dc5e264e4204803b1a5ab715c6a5c9565ad4b7436cc172b9e455c05b bemenu-0.3.0.tar.gz"