void-packages/srcpkgs/st-custom/template
Johnny5 aaaa9417f8
All checks were successful
Build/Publish XBPS / Build and publish packages (map[arch:x86_64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Successful in 1m26s
Build/Publish XBPS / Build and publish packages (map[arch:x86_64 host:x86_64 libc:glibc platform:linux/amd64]) (push) Successful in 1m37s
Build/Publish XBPS / Build and publish packages (map[arch:aarch64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Successful in 1m44s
st-custom: update to 2024.12.1.
2024-12-12 13:50:35 +00:00

40 lines
947 B
Bash

# 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 <luca@bil.ke>"
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
}
}