#Packager: George Vlahavas pkgname=gfs-fonts-ttf pkgver=1.0 pkgrel=1gv arch=noarch source=("http://www.greekfontsociety.gr/GFS_DIDOT_TT.zip" "http://www.greekfontsociety.gr/GFS_BODONI_TT.zip" "http://www.greekfontsociety.gr/GFS_OLGA_TT.zip" "http://www.greekfontsociety.gr/GFS_NEOHELLENIC_TT.zip" "http://www.greekfontsociety.gr/GFS_ARTEMISIA_TT.zip" "http://www.greekfontsociety.gr/GFS_PORSON_TT.zip" "http://www.greekfontsociety.gr/GFS_BASKERVILLE_TT.zip") docs=("ofl.txt" "ofl-faq.txt" "readme.rtf") url=http://www.greekfontsociety.gr 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------------------------------------------------------| "gfs-fonts-ttf (a collection of quality TTF fonts)" "gfs-fonts-ttf is a collection of TTF fonts created by the Greek Font" "Society that features quality greek glyphs, licenced with the Open" "Font License, that follow 21st, 20th, 19th and 18th century" "typographical styles." ) build() { cd $startdir/src/ rm -rf __MACOSX* mkdir -p $startdir/pkg/usr/share/fonts/TTF find ./ -name *.ttf -exec cp '{}' $startdir/pkg/usr/share/fonts/TTF/ \; }