aboutsummaryrefslogtreecommitdiffstats
path: root/community/bemenu/APKBUILD
blob: f2a74caa76d1e0274891b0a262e4282985ee29d1 (plain) (blame)
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
35
36
37
38
39
40
# Contributor: Cosmo Borsky <me@cosmoborsky.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=bemenu
pkgver=0.6.8
pkgrel=0
pkgdesc="Dynamic menu library and client program with support for different backends"
options="!check" # No testsuite
url="https://github.com/Cloudef/bemenu"
arch="all"
license="GPL-3.0-or-later AND LGPL-3.0-or-later"
depends_dev="
	libxinerama-dev
	libxkbcommon-dev
	ncurses-dev
	pango-dev
	scdoc
	wayland-dev
	wayland-protocols
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
source="$pkgname-$pkgver.tar.gz::https://github.com/Cloudef/bemenu/archive/$pkgver.tar.gz"
replaces="sxmo-bemenu"

build() {
	PREFIX=/usr CFLAGS="$CFLAGS -g" make
}

package() {
	# Please don't split backends into subpackages until
	# https://github.com/Cloudef/bemenu/issues/165 is
	# resolved, i.e. proper error messages are output if
	# no backend was found or a backend error occured.

	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
975f986c92c968ad9648e9c2a34674a89a1c078a4a1511b76fd70cbee39fe6aac71c7d2cca8d303f23da557fa7878ec3cb4e72a17869d7c63aabecc75f637307  bemenu-0.6.8.tar.gz
"