28 lines
867 B
Bash
28 lines
867 B
Bash
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.6
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font"
|
|
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="85310c08c3814e099b5e45888f8ac7548640e69e9973e934d4fba38b03737a2b"
|
|
|
|
pre_build() {
|
|
sed -i 's|Liberation Mono|Terminus|g' config.def.h
|
|
sed -i 's|^CFLAGS +=|override CFLAGS +=|g' config.mk
|
|
sed -i 's|^LDFLAGS +=|override LDFLAGS +=|g' config.mk
|
|
# 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
|
|
}
|