void-packages/srcpkgs/tau/template
2020-03-30 23:50:17 +02:00

33 lines
1,011 B
Bash

# Template file for 'tau'
pkgname=tau
version=0.11.3
revision=1
build_style=meson
build_helper=rust
configure_args=" -Dxi-core=system"
hostmakedepends="cargo gettext pkg-config rust glib-devel xi-editor"
makedepends="libhandy-devel rust-std vte3-devel"
depends="xi-editor"
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://gitlab.gnome.org/World/Tau"
distfiles="https://gitlab.gnome.org/World/Tau/uploads/b5f24cd692ec0c2a2c2be460fffaf505/tau-${version}.tar.xz"
checksum=36e915de4ca906599b4ad176d4e2d625b454801a09ca0d4b0a1fbaf14915e60e
# this sometimes builds and sometimes doesn't, do not
# reenable unless you can reliably build it every time
case $XBPS_MACHINE in
*-musl) broken="crashes rustc" ;;
esac
post_install() {
vlicense LICENSE
}
gxi_package() {
depends="tau>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}