void-packages/srcpkgs/cantarell-fonts/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

25 lines
818 B
Text

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.7
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=6a21f841d28de444deee201a25e5cbc129fde14d633c547a7d36941437f72090
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()
{
install -d ${DESTDIR}/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
}