https://github.com/Cloudef/bemenu
Dynamic menu library and client program inspired by dmenu
---
testing/bemenu/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 testing/bemenu/APKBUILD
diff --git a/testing/bemenu/APKBUILD b/testing/bemenu/APKBUILD
new file mode 100644
index 0000000000..b494834568
--- /dev/null
@@ -0,0 +1,35 @@
+# Contributor: Cosmo Borsky <me@cosmoborsky.com>
+# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
+pkgname="bemenu"
+pkgver="0.1.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"
Why explicitly only x86_64 ?
+license="GPL3 LGPL3"
Need to use SPDX identifiers for the license and a SPDX keyword to indicate the relationship between them
+depends="pango"
Don't think this is necessary
+makedepends="cmake libxkbcommon libxinerama ncurses wayland"
I think some require the -dev suffix
+install=""
empty variable can be removed for brevity
+subpackages=""
empty variable can be removed for brevity
+source="
+ $pkgname-$pkgver.tar.gz::https://github.com/Cloudef/$pkgname/archive/$pkgver.tar.gz
+"
Can be in a single line, don't use $pkgname in the source url
+builddir="$srcdir/"
set to $srcdir/$pkgname-$pkgver
+
+build() {
+ cd "bemenu-$pkgver"
This line can be removed with the change to builddir=
Same here
And here
+ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib
+ make
+}
+
+check() {
+ cd "bemenu-$pkgver"
+ make test
+}
+
+package() {
+ cd "bemenu-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="309d58bed4c46b07c856d951a52c7f13adea560aefc921c96c79418424985bcb0e6b5b72c482186f4c42ab754d67c33002bf41f813761afa724ccc410246af3a bemenu-0.1.0.tar.gz"
--
2.22.0