#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=ubuntu-font-family pkgver=0.80 pkgrel=1gv arch=noarch source=("http://font.ubuntu.com/download/ubuntu-font-family-$pkgver.zip") docs=("*.txt") url=http://font.ubuntu.com 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------------------------------------------------------| "ubuntu-font-family (sans-serif typeface hinted for clarity)" "The Ubuntu Font Family are a set of matching new libre/open fonts in" "development during 2010-2011. The development is being funded by" "Canonical Ltd on behalf the wider Free Software community and the" "Ubuntu project. The technical font design work and implementation is" "being undertaken by Dalton Maag." "Both the final font Truetype/OpenType files and the design files used" "to produce the font family are distributed under an open licence and" "you are expressly encouraged to experiment, modify, share and improve." ) build() { cd $startdir/src/ubuntu-font-family-$pkgver mkdir -p $startdir/pkg/usr/share/fonts/TTF cp -a *.ttf $startdir/pkg/usr/share/fonts/TTF }