Hello, I've attached the PKGBUILD patch, not changed much from AUR except adding targets for i686 and armv7h.
-- Kind Regards, Wael Karram.
From eefc5623b881036f29cf29cf86c83026263cd6eb Mon Sep 17 00:00:00 2001 From: wael <[email protected]> Date: Wed, 14 Dec 2022 13:25:18 +0200 Subject: [PATCH] Added PKGBUILD for yambar, an X11 and wayland-native bar written in C. --- pcr/yambar/PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pcr/yambar/PKGBUILD diff --git a/pcr/yambar/PKGBUILD b/pcr/yambar/PKGBUILD new file mode 100644 index 000000000..74315ac3f --- /dev/null +++ b/pcr/yambar/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer (AUR): PedroHLC <[email protected]> +# Contributor (AUR): Moritz Poldrack <moritz at poldrack dot dev> +# Contributor (AUR): dnkl +# Maintainer (Parabola): Wael Karram <[email protected]> + +# Parabola changes and rationale: +# Add armv7h target and remove aarch64 target. +# Streamline the file, as it was giving errors about check_package_nonfree + +pkgname=yambar +pkgver=1.8 +pkgrel=1 +pkgdesc='Modular status panel for X11 and Wayland, inspired by polybar' +arch=('x86_64' 'i686' 'armv7h') +license=('MIT') +url='https://codeberg.org/dnkl/yambar' +makedepends=('meson' 'ninja' 'tllist' 'scdoc' 'git' 'wayland-protocols') +depends=( 'xcb-util' 'xcb-util-wm' 'xcb-util-cursor' 'libxcb' 'xorgproto' 'wayland' 'libyaml' 'alsa-lib' 'fcft' 'json-c' 'libudev' 'pixman' 'libmpdclient') +optdepends=('xcb-util-errors') +conflicts=("${pkgname}") +provides=("${pkgname}=$pkgver") +source=('git+https://codeberg.org/dnkl/yambar.git') +sha256sums=('SKIP') + +pkgver() { + cd yambar + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + mkdir yambar/_build + cd yambar/_build + + meson --buildtype=release --prefix=/usr \ + --wrap-mode=nofallback \ + -Db_lto=true \ + -Dbackend-x11=enabled -Dbackend-wayland=enabled \ + ../ + ninja +} + + +package() { + cd "${srcdir}/yambar/_build" + DESTDIR="${pkgdir}/" ninja install +} -- 2.38.1
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
