39 lines
950 B
Bash
39 lines
950 B
Bash
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.9
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=compliant
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel libX11-devel libXft-devel"
|
|
depends="ncurses st-terminfo-${version}_${revision}"
|
|
short_desc="Simple terminal implementation for X"
|
|
maintainer="meator <meator.dev@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://st.suckless.org"
|
|
distfiles="https://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=f36359799734eae785becb374063f0be833cf22f88b4f169cd251b99324e08e7
|
|
|
|
pre_build() {
|
|
vsed -i config.def.h -e 's|Liberation Mono|Monospace|g'
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
mkdir -p ${DESTDIR}/usr/share/terminfo
|
|
}
|
|
|
|
pre_install() {
|
|
export TERMINFO=${DESTDIR}/usr/share/terminfo
|
|
}
|
|
|
|
post_install() {
|
|
vdoc README
|
|
vdoc FAQ
|
|
vlicense LICENSE
|
|
}
|
|
|
|
st-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|