aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bemenu/APKBUILD
blob: b8e02596b303e9fbc796f7f88a4e78abeac0adcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Cosmo Borsky <me@cosmoborsky.com>
# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
pkgname="bemenu"
pkgver="0.3.0"
pkgrel=1
pkgdesc="Dynamic menu library and client program inspired by dmenu with support for wayland compositors"
url="https://github.com/Cloudef/bemenu"
arch="all"
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=None \
		-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"