void-packages/srcpkgs/st/template

29 lines
851 B
Text
Raw Normal View History

2013-04-05 16:13:15 +00:00
# Template file for 'st'
pkgname=st
2014-04-27 10:13:34 +00:00
version=0.5
2014-04-27 10:32:25 +00:00
revision=2
2014-04-27 10:13:34 +00:00
replaces="st>=0"
build_style=gnu-makefile
hostmakedepends="pkg-config"
2014-04-27 10:32:25 +00:00
makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font"
depends="ncurses"
2014-04-27 10:13:34 +00:00
short_desc="Simple terminal implementation for X"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
2013-04-05 16:13:15 +00:00
license="MIT"
homepage="http://st.suckless.org"
distfiles="http://dl.suckless.org/$pkgname/$pkgname-$version.tar.gz"
2014-04-27 10:13:34 +00:00
checksum=ae80ddfaf8146f7665772efc9b85e05e08be5087682a689ecdf71aa4d4bfdd4e
2013-04-05 16:13:15 +00:00
2014-04-27 10:13:34 +00:00
pre_build() {
sed -i 's|Liberation Mono|Terminus|g' config.def.h
sed -i 's|-I/usr/include||g' config.mk
sed -i 's|-L/usr/lib||g' config.mk
# We will use tic after install. See INSTALL.
sed -i 's|@tic -s st.info||g' Makefile
2013-04-05 16:13:15 +00:00
}
2014-04-27 10:13:34 +00:00
post_install() {
vinstall README 644 usr/share/doc/$pkgname
vinstall LICENSE 644 usr/share/licenses/$pkgname
2013-04-05 16:13:15 +00:00
}