void-packages/srcpkgs/gxi/template
2019-02-21 14:33:58 -03:00

23 lines
714 B
Bash

# Template file for 'gxi'
pkgname=gxi
version=0.5.3
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 <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=f54f60b415826244407fe4c5211e62cda2634ae34a959104f7202405d65926d7
if [ "$CROSS_BUILD" ]; then
configure_args+="-Drust-target=${RUST_TARGET}"
fi
post_install() {
vlicense LICENSE
}