[arch-commits] Commit in bemenu/repos (3 files)

David Runge dvzrv at gemini.archlinux.org
Thu Dec 30 11:05:22 UTC 2021


    Date: Thursday, December 30, 2021 @ 11:05:22
  Author: dvzrv
Revision: 1088118

archrelease: copy trunk to community-staging-x86_64

Added:
  bemenu/repos/community-staging-x86_64/
  bemenu/repos/community-staging-x86_64/PKGBUILD
    (from rev 1088117, bemenu/trunk/PKGBUILD)
  bemenu/repos/community-staging-x86_64/bemenu-wayland.install
    (from rev 1088117, bemenu/trunk/bemenu-wayland.install)

------------------------+
 PKGBUILD               |   77 +++++++++++++++++++++++++++++++++++++++++++++++
 bemenu-wayland.install |    8 ++++
 2 files changed, 85 insertions(+)

Copied: bemenu/repos/community-staging-x86_64/PKGBUILD (from rev 1088117, bemenu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-30 11:05:22 UTC (rev 1088118)
@@ -0,0 +1,77 @@
+# Maintainer: Ivy Foster <iff at archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgbase=bemenu
+pkgname=(bemenu bemenu-ncurses bemenu-x11 bemenu-wayland)
+pkgver=0.6.4
+pkgrel=2
+
+# Wayland without wlroots is not supported.
+# https://github.com/Cloudef/bemenu/issues/79#issuecomment-572867783
+pkgdesc='Dynamic menu library and client program inspired by dmenu'
+url='https://github.com/Cloudef/bemenu'
+arch=(x86_64)
+license=(GPL3 LGPL3)
+
+makedepends=(libxinerama libxkbcommon ncurses pango wayland wayland-protocols wlroots)
+
+source=(
+	"bemenu-$pkgver.tar.gz::https://github.com/Cloudef/bemenu/archive/$pkgver.tar.gz"
+	"bemenu-$pkgver.tar.gz.asc::https://github.com/Cloudef/bemenu/releases/download/$pkgver/bemenu-$pkgver.tar.gz.asc"
+)
+# Checksums provided by packager
+sha256sums=('9b1ad6768a37e3b526ac31e05903b4fc8d95d28870c8fecbe803ccfc8eae1bbe'
+            'SKIP')
+validpgpkeys=('16B6B7CACAF339DECE9F154729317348D687B86B')
+
+build() {
+	cd "bemenu-$pkgver"
+	make PREFIX=/usr
+}
+
+# make test seems to have been removed with cmake
+#check() {
+#	cd "bemenu-$pkgver"
+#	make test
+#}
+
+package_bemenu() {
+	depends=(bemenu-renderer)
+	provides=(libbemenu)
+
+	cd "bemenu-$pkgver"
+	make DESTDIR="$pkgdir" PREFIX=/usr install
+	rm -rf "$pkgdir"/usr/lib/bemenu/
+}
+
+package_bemenu-ncurses() {
+	pkgdesc='ncurses renderer for bemenu'
+	provides=(bemenu-renderer)
+	depends=(libbemenu ncurses)
+
+	cd "bemenu-$pkgver"
+	make DESTDIR="$pkgdir" PREFIX=/usr install-renderers
+	rm -f "$pkgdir"/usr/lib/bemenu/bemenu-renderer-{wayland,x11}.so
+}
+
+package_bemenu-wayland() {
+	pkgdesc='Wayland (wlroots-based compositors) renderer for bemenu'
+	provides=(bemenu-renderer bemenu-wlroots)
+	depends=(libbemenu libxkbcommon pango wayland wayland-protocols)
+	replaces=(bemenu-wlroots)
+	install=bemenu-wayland.install
+
+	cd "bemenu-$pkgver"
+	make DESTDIR="$pkgdir" PREFIX=/usr install-renderers
+	rm -f "$pkgdir"/usr/lib/bemenu/bemenu-renderer-{curses,x11}.so
+}
+
+package_bemenu-x11() {
+	pkgdesc='X11 renderer for bemenu'
+	provides=(bemenu-renderer)
+	depends=(libbemenu libxinerama pango)
+
+	cd "bemenu-$pkgver"
+	make DESTDIR="$pkgdir" PREFIX=/usr install-renderers
+	rm -f "$pkgdir"/usr/lib/bemenu/bemenu-renderer-{curses,wayland}.so
+}

Copied: bemenu/repos/community-staging-x86_64/bemenu-wayland.install (from rev 1088117, bemenu/trunk/bemenu-wayland.install)
===================================================================
--- community-staging-x86_64/bemenu-wayland.install	                        (rev 0)
+++ community-staging-x86_64/bemenu-wayland.install	2021-12-30 11:05:22 UTC (rev 1088118)
@@ -0,0 +1,8 @@
+post_install() {
+	echo "Note: bemenu's wayland backend only works"
+	echo ' in compositors which implement wlr-layer-shell.'
+}
+
+post_upgrade() {
+	post_install
+}



More information about the arch-commits mailing list