morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 973be5d416cc8832cb314c3f8de9624d4e8b94aa
parent 26418d7e3614a86a01e2207310dedec58d4d5301
Author: sin <sin@2f30.org>
Date:   Tue, 18 Feb 2014 13:09:23 +0000

Add terminus fonts

Diffstat:
Apkgs/terminus | 33+++++++++++++++++++++++++++++++++
Mstage0 | 3++-
2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/pkgs/terminus b/pkgs/terminus @@ -0,0 +1,33 @@ +url=$mirror/terminus-font-4.38.tar.gz + +fetch() { + wget -c $url -O src/terminus-font-4.38.tar.gz +} + +unpack() { + cd src + [ -d terminus-font-4.38 ] || tar xzf terminus-font-4.38.tar.gz + cd - +} + +build() { + cd src/terminus-font-4.38 + sh configure --psfdir=$root/share/fonts/console \ + --x11dir=$root/share/fonts/misc || return 1 + make || return 1 + cd - +} + +install() { + cd src/terminus-font-4.38 + make DESTDIR=/ install || return 1 + cd - + cd $root/share/fonts/misc + gzip -d *.gz + mkfontscale + mkfontdir + cd - + cd $root/share/fonts/console + gzip -d *.gz + cd - +} diff --git a/stage0 b/stage0 @@ -30,6 +30,7 @@ packages="crossmusl uuterm tinywm xsetroot - aewm" + aewm + terminus" ./pkgbuild $packages