void-packages/srcpkgs/cantarell-fonts/template

21 lines
717 B
Bash

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.111
revision=1
archs=noarch
build_style=meson
configure_args="-Dfontsdir=/usr/share/fonts/cantarell -Duseprebuilt=true -Dbuildappstream=true"
hostmakedepends="gettext pkg-config meson appstream-glib"
depends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="OFL-1.1"
homepage="https://wiki.gnome.org/Projects/CantarellFonts"
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
checksum=858b2bc196ee851c8e5a76376097bc75f23bc01b29591c30ed3a550e23b41716
post_install() {
vmkdir etc/fonts/conf.d
ln -s ../conf.avail/31-cantarell.conf ${DESTDIR}/etc/fonts/conf.d
}