void-packages/srcpkgs/st-custom/template

41 lines
946 B
Bash
Raw Normal View History

2024-05-22 21:00:01 +02:00
# Template file for 'st-custom'
2024-05-22 20:52:01 +02:00
pkgname=st-custom
2024-07-30 08:41:25 +02:00
version=2024.7.4
2024-07-28 13:43:02 +02:00
revision=1
2024-05-22 20:52:01 +02:00
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 <luca@bil.ke>"
license="MIT"
2024-05-23 14:09:54 +02:00
homepage="https://git.snaile.de/snailed/st-custom"
2024-05-22 20:52:01 +02:00
distfiles="${homepage}/archive/${version}.tar.gz"
2024-07-30 08:41:25 +02:00
checksum=cab7eeeae08e8aadb1a429b752e4e3f0d5f9758ae4ce13e46937aef8b79eb0d7
2024-05-23 14:41:00 +02:00
replaces="st>=0"
provides="st-0.9.1_1"
2024-05-22 20:52:01 +02:00
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"
2024-05-23 14:09:54 +02:00
replaces="st-terminfo"
2024-05-23 14:41:00 +02:00
provides="st-terminfo-0.9.1_1"
2024-05-22 20:52:01 +02:00
pkg_install() {
vmove usr/share/terminfo
}
}