void-packages/srcpkgs/gxi/template

24 lines
714 B
Bash
Raw Normal View History

2019-01-17 00:15:18 +01:00
# Template file for 'gxi'
pkgname=gxi
2019-02-18 20:27:53 +01:00
version=0.5.3
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-18 20:27:53 +01:00
checksum=f54f60b415826244407fe4c5211e62cda2634ae34a959104f7202405d65926d7
2019-02-04 03:29:06 +01:00
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
}