void-packages/srcpkgs/st/template

29 lines
666 B
Plaintext

# Template file for 'st'
pkgname=st
version=0.4
revision=1
makedepends="pkg-config libX11-devel libXinerama-devel libXft-devel terminus-font"
short_desc="simple terminal implementation for X"
maintainer="pancake <pancake@nopcode.org>"
license="MIT"
homepage="http://st.suckless.org"
distfiles="http://dl.suckless.org/$pkgname/$pkgname-$version.tar.gz"
checksum=307aef01d0de0411439bf32d55c23a930e779efd003a31acaa0ddcf8b45a3afe
do_build() {
sed -e 's,Liberation Mono,Terminus,' config.def.h > config.h
make
}
do_install() {
vinstall st 755 usr/bin
vinstall st.1 644 usr/share/man/man1
}
st_package() {
depends="terminus-font"
pkg_install() {
vmove usr
}
}