# Template file for 'gxi' pkgname=gxi version=0.5.1 revision=1 build_style=meson build_helper=rust hostmakedepends="cargo pkg-config rust gettext" makedepends="gtk+3-devel rust-std gettext-devel" checkdepends="appstream-glib desktop-file-utils" short_desc="GTK frontend for the xi text editor, written in Rust" maintainer="Rasmus Thomsen " license="MIT" homepage="https://github.com/Cogitri/gxi" distfiles="https://github.com/Cogitri/gxi/releases/download/v${version}/gxi-${version}.tar.xz" checksum=300a596afbdc9e743d439bcb91b7757615c5c82ccf7a53e02f36fdf7968dc24c case "$XBPS_TARGET_MACHINE" in *-musl) broken="Fails to run subcommand" ;; esac if [ "$CROSS_BUILD" ]; then configure_args+="-Drust-target=${RUST_TARGET}" fi post_install() { vlicense LICENSE }