26 lines
750 B
Bash
26 lines
750 B
Bash
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.5
|
|
revision=5
|
|
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="Ypnose <linuxienATlegtuxDOTorg>"
|
|
license="MIT"
|
|
homepage="http://st.suckless.org"
|
|
distfiles="http://dl.suckless.org/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=ae80ddfaf8146f7665772efc9b85e05e08be5087682a689ecdf71aa4d4bfdd4e
|
|
|
|
pre_build() {
|
|
sed -i 's|Liberation Mono|Terminus|g' config.def.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
|
|
}
|