23 lines
819 B
Plaintext
23 lines
819 B
Plaintext
# Description: dynamic menu library and client program inspired by dmenu with support for wayland compositors
|
|
# URL: https://github.com/Cloudef/bemenu/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: pango wlroots
|
|
# Optional: xorg-libxinerama
|
|
|
|
name=bemenu
|
|
version=0.6.16
|
|
release=1
|
|
source=(https://github.com/Cloudef/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
TARGETS="clients curses man"
|
|
BEMENU_INSTALL="install-bins install-libs install-man install-include install-pkgconfig install-curses"
|
|
|
|
prt-get isinst xorg-xcb-util-renderutil && { TARGETS+=" x11"; BEMENU_INSTALL+=" install-x11"; }
|
|
prt-get isinst wayland && { TARGETS+=" wayland"; BEMENU_INSTALL+=" install-wayland"; }
|
|
|
|
cd $name-$version
|
|
make PREFIX=/usr $TARGETS
|
|
make PREFIX=/usr DESTDIR=$PKG ${BEMENU_INSTALL}
|
|
}
|