diff --git a/srcpkgs/xst/INSTALL b/srcpkgs/xst/INSTALL new file mode 100644 index 00000000000..543529476d8 --- /dev/null +++ b/srcpkgs/xst/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + tic -s usr/share/terminfo/s/st.terminfo + ;; +esac diff --git a/srcpkgs/xst/REMOVE b/srcpkgs/xst/REMOVE new file mode 100644 index 00000000000..6911eb3e614 --- /dev/null +++ b/srcpkgs/xst/REMOVE @@ -0,0 +1,8 @@ +case "${ACTION}" in +pre) + rm usr/share/terminfo/s/st + rm usr/share/terminfo/s/st-meta + rm usr/share/terminfo/s/st-meta-256color + rm usr/share/terminfo/s/st-256color + ;; +esac diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template new file mode 100644 index 00000000000..190fbe5ea23 --- /dev/null +++ b/srcpkgs/xst/template @@ -0,0 +1,27 @@ +# Template file for 'xst' +pkgname=xst +version=0.7.1 +revision=1 +build_style=gnu-makefile +make_use_env=compliant +hostmakedepends="pkg-config" +makedepends="libXft-devel libXext-devel fontconfig-devel" +depends="ncurses" +conflicts="st" +short_desc="St fork with support for xresources" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/neeasade/xst" +distfiles="https://github.com/neeasade/xst/archive/v${version}.tar.gz" +checksum=f8d8de99f48c63f9a68a2d68e7de03a26aad9729c27ae3ce345ab8514ee85ea5 + +do_install() { + vbin st + vman doc/st.1 + + vinstall doc/st.info 644 usr/share/terminfo/s st.terminfo + vdoc README.md README + vdoc doc/FAQ + vdoc doc/Xresources + vlicense doc/LICENSE +}