void-packages/srcpkgs/cantarell-fonts/template
2016-03-03 16:55:08 +01:00

22 lines
797 B
Bash

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.24
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=9cad649ae84f7e4ca1be637c27e2fa19e1fbf00d4bf6480171ccfad405b39264
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
}