> +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
> + cd "bemenu-$pkgver"
This line can be removed with the change to builddir=
> + cd "bemenu-$pkgver"
Same here
> + cd "bemenu-$pkgver"
And here
pkg revision inbound
> Why explicitly only x86_64 ?
The bemenu arch package is built towards x86_64, and I am only able to
test on x86_64 at the moment (aports bootstrap.sh fails, but I will be
testing in qemu)
Is there a preference to test various platforms before committing, or if
multiple platforms can be added in later with a pkg revision?
> Need to use SPDX identifiers for the license and a SPDX keyword to indicate the relationship between them
Noted and applied
>> +depends="pango"
Pango is listed as required for the [X11][1] and [Wayland][2] rendering
backends in bemenu. So is Cairo. I can drop into a bare chroot tomorrow
to test exact dependencies when building vs running.
[1]:
https://github.com/Cloudef/bemenu/blob/f27e35eabca8fbb2003c0a8658f961edd16380a4/lib/renderers/x11/CMakeLists.txt
[2]:
https://github.com/Cloudef/bemenu/blob/f27e35eabca8fbb2003c0a8658f961edd16380a4/lib/renderers/wayland/CMakeLists.txt>> +makedepends="cmake libxkbcommon libxinerama ncurses wayland"> > I think some require the -dev suffix> > empty variable can be removed for brevity> > empty variable can be removed for brevity
noted and applied
> Can be in a single line, don't use $pkgname in the source url
Okay, I saw $pkgname in the source url in a few different APKBUILDs on
aports. Looking back, I should have referenced main or community apks.
>> +builddir="$srcdir/"> > set to $srcdir/$pkgname-$pkgver> >> + cd "bemenu-$pkgver"> > This line can be removed with the change to builddir=> >> + cd "bemenu-$pkgver"> > Same here> >> + cd "bemenu-$pkgver"> > And here>
Noted and applied.
Thank you for the feedback!