### this file is sourced not run
PKGVER=5.000
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=GentiumPlus-$PKGVER.zip
MD5SUM=acedcd2696ea14d1a9296ba6d3075288
SRC_URL=https://software.sil.org/downloads/r/gentium/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="font-gentium-plus-ttf: font-gentium-plus-ttf $PKGVER (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
}


