void-packages/srcpkgs/cantarell-fonts/template
2012-03-27 07:25:29 +02:00

24 lines
803 B
Text

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.8
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
build_style=gnu-configure
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e5468861cee84c034dfc53ed9836a360bea45767873dd7840fe403a06bcc61fb
long_desc="
The Cantarell typeface family is a contemporary Humanist
sans serif, and is used by the GNOME project for its user
interface and the Fedora project."
noarch=yes
Add_dependency build pkg-config
Add_dependency full fontconfig
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
}