void-packages/srcpkgs/gxi/template

28 lines
796 B
Bash
Raw Normal View History

2019-01-17 00:15:18 +01:00
# Template file for 'gxi'
pkgname=gxi
2019-02-14 17:21:10 +01:00
version=0.5.1
2019-01-17 00:15:18 +01:00
revision=1
build_style=meson
2019-01-31 15:44:04 +01:00
build_helper=rust
2019-02-14 17:21:10 +01:00
hostmakedepends="cargo pkg-config rust gettext"
2019-01-31 15:44:04 +01:00
makedepends="gtk+3-devel rust-std gettext-devel"
2019-02-14 17:21:10 +01:00
checkdepends="appstream-glib desktop-file-utils"
2019-01-17 00:15:18 +01:00
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"
2019-02-14 17:21:10 +01:00
checksum=300a596afbdc9e743d439bcb91b7757615c5c82ccf7a53e02f36fdf7968dc24c
2019-01-31 15:44:04 +01:00
2019-02-04 03:29:06 +01:00
case "$XBPS_TARGET_MACHINE" in
2019-02-14 08:49:35 +01:00
*-musl) broken="Fails to run subcommand" ;;
2019-02-04 03:29:06 +01:00
esac
2019-01-31 15:44:04 +01:00
if [ "$CROSS_BUILD" ]; then
configure_args+="-Drust-target=${RUST_TARGET}"
fi
2019-01-17 00:15:18 +01:00
post_install() {
vlicense LICENSE
}