cantarell: bump version

This commit is contained in:
Jerome Duval
2021-06-07 17:19:06 +02:00
parent e5c4d6348e
commit b66dde06e3

View File

@@ -13,8 +13,8 @@ COPYRIGHT="2009-2011 Understanding Limited
2010-2012 Jakub Steiner"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-$portVersion.tar.xz"
CHECKSUM_SHA256="14a228aa0b516dfc367b434a850f955a00c57fc549cbb05348e2b150196a737f"
SOURCE_URI="http://download.gnome.org/sources/cantarell-fonts/$portVersion/cantarell-fonts-$portVersion.tar.xz"
CHECKSUM_SHA256="3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83"
SOURCE_DIR="cantarell-fonts-$portVersion"
ARCHITECTURES="any"
@@ -25,13 +25,18 @@ PROVIDES="
"
BUILD_PREREQUIRES="
coreutils
cmd:meson
cmd:ninja
"
BUILD()
{
meson build --prefix="$prefix" \
-Dbuildappstream=false -Dfontsdir="$fontsDir/otfonts"
meson compile -C build $jobArgs
}
INSTALL()
{
FONTDIR=$fontsDir/otfonts
mkdir -p ${FONTDIR}
cp otf/*.otf ${FONTDIR}
cp README ${FONTDIR}/cantarell.readme
meson install -C build
}