smlinux/xorg/terminus-font/terminus-font.SMBuild

33 lines
No EOL
992 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=terminus-font
version=4.40
build=1sml
homepage="http://terminus-font.sourceforge.net/"
download="https://sourceforge.net/projects/terminus-font/files/terminus-font-$version/terminus-font-$version.tar.gz"
desc="a clean fixed width bitmap font"
requires="python3 bdftopcf mkfontscale fontconfig"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/terminus-font.Makefile.paths.diff
}
build() {
make
make install install-uni install-ref DESTDIR="$pkg"
cp OFL.TXT $pkgdocs/
mkfinalpkg
}
sha512sums="
381b9c7652d7f78633ea57e74c3819428fa6da786a83ed095061cee56422144ee1887a95ab22053b28201067cfdf47d1b2ab449f17228e7648d0df24d539eb72 terminus-font-4.40.tar.lz
47eb1a4feb92778262645b4665d7ba079f3ff5e0e3e8edcba7f783741fcd369a907bdf10c5ea7ae5ff07a99c026d268ab58b21f5132b7ac49fddac12f8ae1bc1 terminus-font.Makefile.paths.diff
"