### this file is sourced not run
PKGVER=0.301 # latest version that comes with prebuilt fonts
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=cantarell-fonts-$PKGVER.tar.xz
MD5SUM=56e7c9e8dd1dada8d4d7437817be0e4b
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/cantarell-fonts/0.301/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="font-cantarell: font-cantarell $PKGVER (Cantarell Truetype font)
font-cantarell: 
font-cantarell: The Cantarell typeface family provides a contemporary Humanist sans 
font-cantarell: serif. It is particularly optimised for legibility at small sizes and 
font-cantarell: is the preferred font family for the GNOME-3 user interface.
font-cantarell: 
font-cantarell: 
font-cantarell: 
font-cantarell: 
font-cantarell: 
font-cantarell: 
"
SLACKINSTALL='mkfontscale usr/share/fonts/X11/TTF
mkfontdir usr/share/fonts/X11/TTF
'

### default pkg_download
### default pkg_prepare
### build
pkg_build() {
	MESONFLAGS="$MESONFLAGS --wrap-mode=nofallback \
		-Duseprebuilt=true                         \
		-Dfontsdir=/usr/share/fonts/X11/TTF        \
		-Dbuildappstream=false                     \
	" &&
	pkg_build_meson &&
	pkg_build_slackdesc
}


