28 lines
851 B
Text
28 lines
851 B
Text
# Template file for 'st'
|
|
pkgname=st
|
|
version=0.5
|
|
revision=1
|
|
replaces="st>=0"
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel libX11-devel libXft-devel"
|
|
depends="terminus-font 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
|
|
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
|
|
}
|
|
|
|
post_install() {
|
|
vinstall README 644 usr/share/doc/$pkgname
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
}
|