mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
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:
@@ -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}
|
||||
}
|
||||
35
media-fonts/unifont/unifont-13.0.02.recipe
Normal file
35
media-fonts/unifont/unifont-13.0.02.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user