0
0
Fork 0
haikuports/media-fonts/unifont/unifont-13.0.02.recipe

36 lines
1.3 KiB
Bash

SUMMARY="Unifoundry's font covering Unicode's BMP"
DESCRIPTION="GNU Unifont is part of the GNU Project. \
The GNU Unifont by Roman Czyborra is a free bitmap font that covers the \
Unicode Basic Multilingual Plane (BMP), using an intermediate bitmapped \
font format."
HOMEPAGE="http://unifoundry.com"
COPYRIGHT="Unifoundry"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://unifoundry.com/pub/unifont/unifont-$portVersion/font-builds/unifont-$portVersion.ttf#noarchive"
CHECKSUM_SHA256="180b2ad6ff80782dc8aed9664510e81e67e0ea740cbb1c19066e0f371fa635ee"
SOURCE_DIR=""
SOURCE_URI_2="http://unifoundry.com/pub/unifont/unifont-$portVersion/font-builds/unifont_upper-$portVersion.ttf#noarchive"
CHECKSUM_SHA256_2="bc693aef53ababb60b1142af0229d0a02782ac6a5fb578a8186ed970e960171a"
SOURCE_URI_3="http://unifoundry.com/pub/unifont/unifont-$portVersion/font-builds/unifont_csur-$portVersion.ttf#noarchive"
CHECKSUM_SHA256_3="c23ae52d009889e4fcfaf0623be1a0b13e50e8ae3df5b342880de73c118ba973"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
unifont = $portVersion
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
for f in ../sources*/*.ttf; do
# we dont want the version in the name, some apps expect "unifont.ttf"
bn="${f##*/}"
cp "$f" ${FONTDIR}/"${bn%-${portVersion}.ttf}".ttf
done
}