void-packages/srcpkgs/xst/template
2020-12-13 16:23:08 -03:00

27 lines
756 B
Bash

# Template file for 'xst'
pkgname=xst
version=0.8.4.1
revision=1
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config"
makedepends="libXft-devel libXext-devel fontconfig-devel"
depends="ncurses desktop-file-utils"
short_desc="St fork with support for xresources"
maintainer="Nathan <ndowens@artixlinux.org>"
license="MIT"
homepage="https://github.com/gnotclub/xst"
distfiles="https://github.com/gnotclub/xst/archive/v${version}.tar.gz"
checksum=cbeb2da6c289415d1168559c6f58b4ce47fd266edefbabc38fd59e8b7c87226d
do_install() {
vbin xst
vman st.1 xst.1
vinstall st.info 644 usr/share/terminfo/x xst.terminfo
vdoc README
vdoc FAQ
vsed -i 's/st-256color/xst-256color/' .Xresources
vdoc .Xresources Xresources
vlicense LICENSE
}