contrib/xorg-font-terminus/Pkgfile

21 lines
630 B
Plaintext
Raw Normal View History

# Description: A clean, fixed width bitmap font, designed for long (8 and more hours per day) work with computers
# URL: http://terminus-font.sourceforge.net/
# Depends on: xorg-bdftopcf, xorg-mkfontdir
name=xorg-font-terminus
version=4.38
release=1
source=(http://downloads.sourceforge.net/terminus-font/terminus-font-$version.tar.gz)
build () {
cd terminus-font-$version
chmod +x configure
./configure --prefix=/usr \
--x11dir=/usr/share/fonts/X11/terminus
make pcf
make DESTDIR=$PKG install-pcf
cd $PKG/usr/share/fonts/X11/terminus
/usr/bin/mkfontdir
sed -e 's|.pcf.gz||' fonts.dir|grep terminus > fonts.alias
}