unifont: update to 13.0.02 and fix filenames

OCP expects a "unifont.ttf", and it is packaged this way on Debian,
so let's drop the version in the names.
This commit is contained in:
François Revol
2020-05-24 02:39:20 +02:00
parent 006adb888c
commit 08ba7f173a
2 changed files with 35 additions and 31 deletions

View File

@@ -1,31 +0,0 @@
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-$portVersion/font-builds/unifont-$portVersion.ttf#noarchive"
CHECKSUM_SHA256="669a9764fb640c832a8ebfbd2c351be744b55c6f65b40f1fb203144309659ac0"
SOURCE_DIR=""
SOURCE_URI_2="http://unifoundry.com/pub/unifont-$portVersion/font-builds/unifont_upper-$portVersion.ttf#noarchive"
CHECKSUM_SHA256_2="be9d9670632b65113bc280d687fbc806990847f6b4567af89f1db45ae97f5b92"
SOURCE_URI_3="http://unifoundry.com/pub/unifont-$portVersion/font-builds/unifont_csur-$portVersion.ttf#noarchive"
CHECKSUM_SHA256_3="c6bbd70acb29bec83611732cce1e41953c48cb59516506dbf0ed94a23f71753a"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
unifont = $portVersion
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp ../sources*/*.ttf ${FONTDIR}
}

View File

@@ -0,0 +1,35 @@
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
}