st-custom: fix template

This commit is contained in:
Luca Bilke 2024-05-22 20:52:01 +02:00
parent a16f3500a1
commit 83fcd2df74
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
3 changed files with 39 additions and 2 deletions

View File

@ -6,8 +6,8 @@ makedepends="libXinerama-devel libXft-devel freetype-devel pango-devel pkg-confi
short_desc="Customized DWM"
maintainer="Luca Bilke <luca@bil.ke>"
license="MIT"
homepage="https://git.snaile.de/snailed/dwm-custom"
distfiles="https://git.snaile.de/snailed/dwm-custom/archive/${version}.tar.gz"
homepage="https://git.snaile.de/snailed/${pkgname}"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=608de0a7001791c07efd860cee7eb2fec94536f1dda9596e4f2f7fad6b6da429
do_build() {

1
srcpkgs/st-custom-terminfo Symbolic link
View File

@ -0,0 +1 @@
st-custom

View File

@ -0,0 +1,36 @@
# Template file for 'st'
pkgname=st-custom
version=2024.5.2
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/${pkgname}"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=991028ecaead1cce9a71f82bae7fe5c1ed4c0279617a5bdea5d6dd2972a066ef
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"
pkg_install() {
vmove usr/share/terminfo
}
}