#!/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