void-packages/srcpkgs/gxi/template

24 lines
714 B
Bash
Raw Normal View History

2019-01-16 23:15:18 +00:00
# Template file for 'gxi'
pkgname=gxi
2019-02-18 19:27:53 +00:00
version=0.5.3
2019-01-16 23:15:18 +00:00
revision=1
build_style=meson
2019-01-31 14:44:04 +00:00
build_helper=rust
2019-02-14 16:21:10 +00:00
hostmakedepends="cargo pkg-config rust gettext"
2019-01-31 14:44:04 +00:00
makedepends="gtk+3-devel rust-std gettext-devel"
2019-02-14 16:21:10 +00:00
checkdepends="appstream-glib desktop-file-utils"
2019-01-16 23:15:18 +00: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-18 19:27:53 +00:00
checksum=f54f60b415826244407fe4c5211e62cda2634ae34a959104f7202405d65926d7
2019-02-04 02:29:06 +00:00
2019-01-31 14:44:04 +00:00
if [ "$CROSS_BUILD" ]; then
configure_args+="-Drust-target=${RUST_TARGET}"
fi
2019-01-16 23:15:18 +00:00
post_install() {
vlicense LICENSE
}