diff --git a/srcpkgs/tofi/template b/srcpkgs/tofi/template new file mode 100644 index 00000000000..813356a0b1d --- /dev/null +++ b/srcpkgs/tofi/template @@ -0,0 +1,24 @@ +# Template file for 'tofi' +pkgname=tofi +version=0.8.1 +revision=1 +build_style=meson +hostmakedepends="scdoc pkg-config wayland-devel wayland-protocols" +makedepends="freetype-devel cairo-devel pango-devel wayland-devel + libxkbcommon-devel harfbuzz-devel" +short_desc="Tiny dynamic menu for wayland" +maintainer="Lucas Tavares " +license="MIT" +homepage="https://github.com/philj56/tofi" +changelog="https://raw.githubusercontent.com/philj56/tofi/master/CHANGELOG.md" +distfiles="https://github.com/philj56/tofi/archive/refs/tags/v${version}.tar.gz" +checksum=0a700f8b0291ef08b3544cd589157393101d52bbd1e7e6aeee8484f9d520a338 + +if [ "$XBPS_TARGET_LIBC" = musl ]; then + makedepends+=" musl-fts-devel" + LDFLAGS="-lfts" +fi + +post_install() { + vlicense LICENSE +}