diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/sfwbar/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/sfwbar/MAKEPKG')
| -rw-r--r-- | opt/sfwbar/MAKEPKG | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/opt/sfwbar/MAKEPKG b/opt/sfwbar/MAKEPKG new file mode 100644 index 0000000..a1de84f --- /dev/null +++ b/opt/sfwbar/MAKEPKG @@ -0,0 +1,43 @@ +#!/bin/mkpkg +# description: Flexible taskbar for Wayland compositors +# url: https://github.com/LBCrion/sfwbar + +name=sfwbar +version=1.0_beta17 +release=1 +depends=(gtk3 gtk-layer-shell json-c wayland wayland-protocols libxkbcommon) +makedeps=(meson patchelf) +source=(https://github.com/LBCrion/sfwbar/archive/refs/tags/v$version.tar.gz) +renames=($name-$version.tar.gz) + +sha256sums=( + "a4915bc7dd0873c45d0d6b01b070e39a91fd16cfadf730d6a9e48db68a8cd09e" +) + +build() { + cd $name-$version + + meson setup build \ + --prefix=/usr \ + --libdir=lib \ + --buildtype=plain + + meson compile -C build + DESTDIR=$PKG meson install -C build + + rm -rf $PKG/usr/share/doc + rm -rf $PKG/usr/share/locale +} + +post_build() { + for f in $PKG/usr/lib/sfwbar/*.so; do + patchelf --set-rpath '$ORIGIN' "$f" + done +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
