cruxports/bemenu/Pkgfile

23 lines
819 B
Plaintext
Raw Normal View History

2022-02-05 20:39:19 +00:00
# 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
2022-04-26 11:51:12 +00:00
# Depends on: pango wlroots
2022-02-05 20:39:19 +00:00
# Optional: xorg-libxinerama
name=bemenu
2024-03-15 11:58:45 +00:00
version=0.6.21
2022-02-05 20:39:19 +00:00
release=1
2023-09-09 00:00:04 +00:00
source=(https://github.com/Cloudef/$name/archive/$version/$name-$version.tar.gz)
2022-02-05 20:39:19 +00:00
build() {
TARGETS="clients curses man"
BEMENU_INSTALL="install-bins install-libs install-man install-include install-pkgconfig install-curses"
2023-09-09 00:00:04 +00:00
prt-get isinst xorg-xcb-util-renderutil && { TARGETS+=" x11"; BEMENU_INSTALL+=" install-x11"; }
prt-get isinst wayland && { TARGETS+=" wayland"; BEMENU_INSTALL+=" install-wayland"; }
2022-02-05 20:39:19 +00:00
cd $name-$version
make PREFIX=/usr $TARGETS
make PREFIX=/usr DESTDIR=$PKG ${BEMENU_INSTALL}
}