void-packages/srcpkgs/gxi/template

24 lines
696 B
Bash

# Template file for 'gxi'
pkgname=gxi
version=0.8.1
revision=1
build_style=meson
build_helper=rust
hostmakedepends="cargo pkg-config rust gettext glib-devel"
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="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/Cogitri/gxi"
distfiles="https://github.com/Cogitri/gxi/releases/download/v${version}/gxi-${version}.tar.xz"
checksum=7f970239815cd688218c360fba7f00b8e1eb9ee9bafc9ce578e61018cca087a1
case $XBPS_MACHINE in
*-musl) broken="crashes rustc" ;;
esac
post_install() {
vlicense LICENSE
}