# Template build file for 'font-fontin'.
pkgname=font-fontin
version=0.0.20151027
revision=1
noarch="yes"
hostmakedepends="unzip"
depends="font-util"
font_dirs="/usr/share/fonts/OTF/"
short_desc="A font designed to be used at small sizes"
homepage="http://www.exljbris.com"
license="EULA:$homepage/eula.html"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
distfiles="$homepage/dl/fontin_pc.zip
$homepage/dl/FontinSans_49.zip"
checksum="ddbb4ba57d0ab7d1af9d511de8e68d0fab9beec0c03eaf9c968f180b96100aa7
8b04ea509ec5fa8ddf921c94ba1824130071d16b7f83b09bc257b9311ff65a6e"

create_wrksrc=yes
restricted=yes

do_install() {
	vmkdir usr/share/fonts/OTF/
	vcopy *.otf usr/share/fonts/OTF
}

post_install() {
	rm -f ${DESTDIR}/${font_dirs}/fonts.*
}
