st: split terminfo files in subpkg

This commit is contained in:
Yuusha Spacewolf 2018-01-18 01:21:25 -06:00 committed by Toyam Cox
parent 37cdac0cd6
commit 22e2dd19c9
4 changed files with 11 additions and 2 deletions

1
srcpkgs/st-terminfo Symbolic link
View File

@ -0,0 +1 @@
st

View File

@ -1,12 +1,12 @@
# Template file for 'st'
pkgname=st
version=0.7
revision=2
revision=3
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config"
makedepends="fontconfig-devel libX11-devel libXft-devel"
depends="ncurses"
depends="ncurses st-terminfo-${version}_${revision}"
short_desc="Simple terminal implementation for X"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
@ -25,3 +25,11 @@ post_install() {
vdoc README
vlicense LICENSE
}
st-terminfo_package() {
short_desc+=" - terminfo data"
noarch=yes
pkg_install() {
vmove usr/share/terminfo
}
}