42 lines
993 B
Plaintext
42 lines
993 B
Plaintext
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.8.2
|
|
revision=2
|
|
wrksrc=${pkgname}
|
|
build_style=gnu-makefile
|
|
make_use_env=compliant
|
|
hostmakedepends="git pkg-config"
|
|
makedepends="fontconfig-devel libX11-devel libXft-devel"
|
|
depends="ncurses st-terminfo-${version}_${revision}"
|
|
short_desc="Simple terminal implementation for X"
|
|
maintainer="Tuxliban Torvalds <tenshalito@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://st.suckless.org"
|
|
|
|
do_fetch(){
|
|
git clone https://github.com/tuxliban/st.git ${wkrsrc} --depth 1
|
|
cd ${wrksrc}
|
|
git checkout master
|
|
}
|
|
|
|
pre_build() {
|
|
sed -i 's|Ubuntu Mono:pixelsize=11|Ubuntu Mono:pixelsize=13|g' config.h
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
# We will use tic after install. See INSTALL.
|
|
sed -i '/tic/d' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vinstall st.info 644 usr/share/terminfo/s st.terminfo
|
|
vdoc README
|
|
vlicense LICENSE
|
|
}
|
|
|
|
st-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|