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

# mine
TARBALL=Andika-$PKGVER.zip
MD5SUM=f83086975b0fe292dba1749e638ba9f2
SRC_URL="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Andika-1.004.zip&filename=Andika-1.004.zip"
BUNDLE=

SLACKREQ=
SLACKDESC="font-andika-ttf: font-andika-ttf $PKGVER (Andika Truetype font)  
font-andika-ttf:  
font-andika-ttf: Andika is a sans serif, Unicode-compliant font designed 
font-andika-ttf: especially for literacy use, taking into account the needs of 
font-andika-ttf: beginning readers. The focus is on clear, easy-to-perceive 
font-andika-ttf: letterforms that will not be readily confused with one 
font-andika-ttf: another.  
font-andika-ttf: 
font-andika-ttf: 
font-andika-ttf: 
font-andika-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/Andika* &&
	mkdir -p /usr/share/fonts/X11/TTF &&
	cp *.ttf /usr/share/fonts/X11/TTF/ &&
	pkg_build_slackdesc
}


