### this file is sourced not run

# mine
TARBALL=GentiumPlus-1.510.zip
MD5SUM=4d0ebe6492b2b3fa7538f47f3a4bcc65
SRC_URL="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlus-1.510.zip&filename=GentiumPlus-1.510.zip"
BUNDLE=

SLACKREQ=
SLACKDESC='font-gentium-plus-ttf: font-gentium-plus-ttf 1.03 (Gentium Truetype font)  
font-gentium-plus-ttf:  
font-gentium-plus-ttf: Gentium is a typeface family designed to enable the 
font-gentium-plus-ttf: diverse ethnic groups around the world who use the 
font-gentium-plus-ttf: Latin, Cyrillic and Greek scripts to produce readable, 
font-gentium-plus-ttf: high-quality publications. It supports a wide range of 
font-gentium-plus-ttf: Latin- and Cyrillic-based alphabets. The design is 
font-gentium-plus-ttf: intended to be highly readable, reasonably compact, and 
font-gentium-plus-ttf: visually attractive.  
font-gentium-plus-ttf: 
font-gentium-plus-ttf: Brought to you by http://sil.org
'
SLACKINSTALL='mkfontscale usr/share/fonts/X11/TTF
mkfontdir usr/share/fonts/X11/TTF
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	cd tmp &&
	unzip $SRC_DIR/$TARBALL
}

### default pkg_prepare
### build
pkg_build() {
	cd /tmp/Gentium* &&
	mkdir -p /usr/share/fonts/X11/TTF &&
	cp *.ttf /usr/share/fonts/X11/TTF/ &&
	pkg_build_slackdesc
}


