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

# source: james
TARBALL=emojione-svg.otf
MD5SUM=5636d9f9c975fc3b57a6f54ff229dfbd
SRC_URL=https://github.com/emojione/emojione-assets/releases/download/$PKGVER/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="font-emojione-ttf: font-emojione-ttf $PKGVER (Emoji Font)
font-emojione-ttf: 
font-emojione-ttf: This font contains most of the Unicode emojis found in modern Android 
font-emojione-ttf: and iOS devices.
font-emojione-ttf:
font-emojione-ttf: Brought to you by emojione.com
font-emojione-ttf: https://github.com/emojione/emojione/tree/master/extras/fonts
font-emojione-ttf: 
font-emojione-ttf: 
font-emojione-ttf: 
font-emojione-ttf:
"
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 &&
	cp $SRC_DIR/$TARBALL tmp
}

### default pkg_prepare
### build
pkg_build() {
	mkdir -p /usr/share/fonts/X11/TTF &&
	cp /tmp/$TARBALL /usr/share/fonts/X11/TTF/ &&
	pkg_build_slackdesc
}


