### this file is sourced not run
PKGVER=2018.06 # fetched on this date
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=gelasio.zip
MD5SUM=4d610887ff4d445cbc639aae7828d139
SRC_URL=https://fontlibrary.org/assets/downloads/gelasio/4d610887ff4d445cbc639aae7828d139/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="font-gelasio: font-gelasio $PKGVER (Gelasio Truetype font)
font-gelasio: 
font-gelasio: Gelasio is metrically compatible with MS Georgia and fontconfig will 
font-gelasio: use it if ever Georgia is requested but not installed.
font-gelasio: 
font-gelasio: https://fontlibrary.org/ru/font/gelasio
font-gelasio: 
font-gelasio: 
font-gelasio: 
font-gelasio: 
font-gelasio: 
"
SLACKINSTALL='mkfontscale usr/share/fonts/X11/TTF
mkfontdir usr/share/fonts/X11/TTF
'

### default pkg_download
### default pkg_prepare
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	mkdir tmp/gelasio && cd tmp/gelasio &&
	unzip $SRC_DIR/$TARBALL
}
### build
pkg_build() {
	cd /tmp/gelasio* &&
	mkdir -p /usr/share/fonts/X11/TTF &&
	cp *.ttf /usr/share/fonts/X11/TTF/ &&
	pkg_build_slackdesc
}


