aboutsummaryrefslogtreecommitdiffstats
path: root/community/bemenu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bemenu/APKBUILD')
-rw-r--r--community/bemenu/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/bemenu/APKBUILD b/community/bemenu/APKBUILD
new file mode 100644
index 0000000000..99a34e01f3
--- /dev/null
+++ b/community/bemenu/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Cosmo Borsky <me@cosmoborsky.com>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=bemenu
+pkgver=0.6.2
+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="libxkbcommon-dev libxinerama-dev ncurses-dev wayland-dev pango-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"
+
+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="
+53b8513a5ca2e1c982a1425ba0806b178c9d2bd2785739ff92cb1615f5d2ea5df9e8914f5a9575c7c2dfc8964872b927b542b9f5bc7335923aeeeead5c3d9f33 bemenu-0.6.2.tar.gz
+"