28 lines
814 B
Bash
28 lines
814 B
Bash
# Template file for 'gxi'
|
|
pkgname=gxi
|
|
version=0.4.6
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=rust
|
|
hostmakedepends="cargo pkg-config rust gettext"
|
|
makedepends="gtk+3-devel rust-std gettext-devel"
|
|
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=3e5420a284d685490887d96aba2a2eab9d41a6baa1e6b800d077e2ecf246422f
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64-musl) broken="error: Could not compile 'gio'." ;;
|
|
*-musl) broken="error: Could not compile 'glib'." ;;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+="-Drust-target=${RUST_TARGET}"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|