void-packages/srcpkgs/cantarell-fonts/template
2012-06-12 17:00:40 +02:00

25 lines
801 B
Text

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.9
revision=1
build_style=gnu-configure
makedepends="pkg-config"
fulldepends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
checksum=793f4e2f28e5d03b266f4f714570c9569cb7f8b993a56219539788d45e0fa3fe
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
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
}