27 lines
746 B
Bash
27 lines
746 B
Bash
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.7
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=compliant
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel libX11-devel libXft-devel"
|
|
depends="ncurses"
|
|
short_desc="Simple terminal implementation for X"
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
|
license="MIT"
|
|
homepage="http://st.suckless.org"
|
|
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000
|
|
|
|
pre_build() {
|
|
cp ${FILESDIR}/config.h config.h
|
|
# We will use tic after install. See INSTALL.
|
|
sed -i 's|@tic -s st.info||g' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vinstall st.info 644 usr/share/terminfo/s st.terminfo
|
|
vdoc README
|
|
vlicense LICENSE
|
|
}
|