void-packages/srcpkgs/gxi/template

23 lines
658 B
Bash

# Template file for 'gxi'
pkgname=gxi
version=0.4.4
revision=1
build_style=meson
hostmakedepends="cmake cargo pkg-config rust"
makedepends="gtk+3-devel rust-std"
short_desc="GTK frontend for the xi text editor, written in Rust"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="MIT"
homepage="https://github.com/Cogitri/gxi"
distfiles="https://github.com/Cogitri/gxi/releases/download/v${version}/gxi-${version}.tar.xz"
checksum=b094c966fe79ec23e6b8cfcbae459b003255606084deed44dd60b60ec0035ed6
nocross="Meson x Cargo"
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) broken="couldn't compile gxi";;
esac
post_install() {
vlicense LICENSE
}