void-packages/srcpkgs/gxi/template

28 lines
814 B
Bash
Raw Normal View History

2019-01-17 00:15:18 +01:00
# Template file for 'gxi'
pkgname=gxi
2019-01-31 15:44:04 +01:00
version=0.4.6
2019-01-17 00:15:18 +01:00
revision=1
build_style=meson
2019-01-31 15:44:04 +01:00
build_helper=rust
hostmakedepends="cargo pkg-config rust gettext"
makedepends="gtk+3-devel rust-std gettext-devel"
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-01-31 15:44:04 +01:00
checksum=3e5420a284d685490887d96aba2a2eab9d41a6baa1e6b800d077e2ecf246422f
2019-02-04 03:29:06 +01:00
case "$XBPS_TARGET_MACHINE" in
2019-02-04 04:52:34 +01:00
x86_64-musl) broken="error: Could not compile 'gio'." ;;
*-musl) broken="error: Could not compile 'glib'." ;;
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
}