# Template file for 'st-custom' pkgname=st-custom version=2024.12.1 revision=1 build_style=gnu-makefile make_use_env=compliant hostmakedepends="pkg-config" makedepends="fontconfig-devel libX11-devel libXft-devel imlib2-devel harfbuzz-devel" depends="ncurses st-custom-terminfo-${version}_${revision}" short_desc="Customized ST" maintainer="Luca Bilke " license="MIT" homepage="https://git.snaile.de/snailed/st-custom" distfiles="${homepage}/archive/${version}.tar.gz" checksum=490aeef0f911b73554d43d4bae0c03be94aa69300bf053533538c03678a3e358 replaces="st>=0" provides="st-0.9.1_1" pre_build() { mkdir -p ${DESTDIR}/usr/share/terminfo } pre_install() { export TERMINFO=${DESTDIR}/usr/share/terminfo } post_install() { vdoc README vdoc FAQ vlicense LICENSE } st-custom-terminfo_package() { short_desc+=" - terminfo data" replaces="st-terminfo" provides="st-terminfo-0.9.1_1" pkg_install() { vmove usr/share/terminfo } }