#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=gentium-font pkgver=102 pkgrel=1gv arch=noarch source=("http://pnboy.pinguix.com/gapan/$arch/$pkgname/Gentium102.tar.gz") docs=("*.txt") url=http://scripts.sil.org/gentium doinst() { # Update the X font indexes: if [ -x usr/bin/mkfontdir ]; then usr/bin/mkfontscale usr/share/fonts/TTF usr/bin/mkfontdir usr/share/fonts/TTF fi if [ -x usr/bin/fc-cache ]; then usr/bin/fc-cache usr/share/fonts/TTF >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gentium-font - A unicode TTF font" "Gentium ('belonging to the nations' in Latin) is a Unicode typeface" "family designed to enable the many diverse ethnic groups around the" "world who use the Latin script to produce readable, high-quality" "publications. It supports a wide range of Latin-based alphabets and" "includes glyphs that correspond to all the Latin ranges of Unicode." "" "gentium fonts are released under the SIL Open Font License." ) build() { cd $startdir/src/Gentium$pkgver mkdir -p $startdir/pkg/usr/share/fonts/TTF cp -a *.TTF $startdir/pkg/usr/share/fonts/TTF }