36 lines
887 B
Bash
36 lines
887 B
Bash
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.8
|
|
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='Juan RP <xtraeme@voidlinux.eu>'
|
|
license="MIT"
|
|
homepage="https://st.suckless.org"
|
|
distfiles="https://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=77353920d07d66c684a0f57ec37c2670c42fdc5c871d6382b701601cdc597576
|
|
|
|
pre_build() {
|
|
cp ${FILESDIR}/config.h config.h
|
|
# We will use tic after install. See INSTALL.
|
|
sed -i '/tic/d' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vinstall st.info 644 usr/share/terminfo/s st.terminfo
|
|
vdoc README
|
|
vlicense LICENSE
|
|
}
|
|
|
|
st-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|