aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bemenu/APKBUILD
blob: 9bf979185d2f0a6686a3ffb7ccafed29393d2428 (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.2.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="05ddc79b2f4152fe4a3cbbec500f21f0b3e045aeb0e18bd5749acfe16ed41d7d933accf68a4793345cb20543620894847cec34236684d8cb4d42f20454d31b4e  bemenu-0.2.0.tar.gz"