void-packages/srcpkgs/cantarell-fonts/template
2016-01-23 00:01:21 +01:00

22 lines
797 B
Bash

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.21
revision=1
noarch=yes
build_style=gnu-configure
configure_args="--with-configdir=/etc/fonts/conf.avail"
hostmakedepends="pkg-config"
depends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://wiki.gnome.org/Projects/CantarellFonts"
license="OFL-1.1"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
checksum=2d3e925574648f0902c61975f84acac445ee9cda826280644bdf772960b46e85
post_install() {
vmkdir etc/fonts/conf.d
ln -s ../conf.avail/31-cantarell.conf ${DESTDIR}/etc/fonts/conf.d
vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail
ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d
}