SUMMARY="It's Courier, just better"
DESCRIPTION="Courier Prime was designed to replace the legendary Courier \
especially in screenwriting. It's Courier, just better. Courier Prime is \
optimized for 12 point size, and matches the metrics of Courier and Courier \
Final Draft, so you can (mostly) swap it out one-for-one and your page count \
should not change."
HOMEPAGE="https://quoteunquoteapps.com/courierprime/"
COPYRIGHT="2013 Quote-Unquote Apps"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
# use a stable version mirrored.
SOURCE_URI="
	http://mirror.facebook.net/gentoo/distfiles/courier-prime-$portVersion.tar.xz
	ftp://ftp.yzu.edu.tw/Linux/gentoo/distfiles/courier-prime-$portVersion.tar.xz
	"
#SOURCE_URI="http://quoteunquoteapps.com/downloads/courier-prime.zip"
#SOURCE_URI_2="http://quoteunquoteapps.com/downloads/courier-sans.zip"
#SOURCE_URI_3="http://quoteunquoteapps.com/downloads/courier-code.zip"
CHECKSUM_SHA256="443f5efa8848c60c9f5392e89b89a5c4fd1477d96daa1c7d0890bbe44f621e4b"
SOURCE_DIR="courier-prime-$portVersion"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	courier_prime = $portVersion
	"

BUILD_PREREQUIRES="
	cmd:cp
	cmd:mkdir
	"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp -r *.ttf ${FONTDIR}/
}
