Updated .recipe for courier_prime so that it builds to a .hpkg

This commit is contained in:
Scott McCreary
2013-09-17 14:31:44 -07:00
parent 557c0696af
commit 0f4c080530

View File

@@ -1,23 +1,36 @@
DESCRIPTION="It's Courier, just better."
SUMMARY="It's Courier, just better."
DESCRIPTION="Courier Prime is optimized for 12 point size, and matches the metrics of Courier and Courier Final Draft, so you can often swap it out one-for-one."
HOMEPAGE="http://quoteunquoteapps.com/courierprime/"
SRC_URI="http://quoteunquoteapps.com/downloads/courier-prime.zip"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="cf79336ce1cf439560a5364ab7856738"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2013 Quote-Unquote Apps"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
courier_prime = $portVersion
"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR="Courier Prime"
BUILD()
{
echo "No building required."
true
}
INSTALL()
{
cd "Courier Prime"
FONTDIR=${DESTDIR}/`finddir B_COMMON_FONTS_DIRECTORY`/courier-prime
FONTDIR=$fontsDir/courier-prime
mkdir -p ${FONTDIR}
cp -r *.ttf ${FONTDIR}/
cp Read\ me.txt ${FONTDIR}/README.txt
}
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2013 Quote-Unquote Apps"