void-packages/srcpkgs/cantarell-fonts/template

32 lines
933 B
Plaintext

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.13
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://abattis.org/cantarell/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
checksum=afc53ffa27418932301a3bc030cf811684a1261faa761744fe2d3ce696b6492c
post_install() {
vmkdir etc/fonts/conf.d
mv ${DESTDIR}/usr/share/fontconfig/conf.avail \
${DESTDIR}/etc/fonts/conf.avail
rmdir ${DESTDIR}/usr/share/fontconfig
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
}
cantarell-fonts_package() {
depends="fontconfig"
noarch="yes"
pkg_install() {
vmove all
}
}