void-packages/srcpkgs/cantarell-fonts/template
2012-12-21 08:52:46 +01:00

24 lines
801 B
Text

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.12
revision=1
noarch=yes
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=3d509e1117dd92a6b80ef8b2586c89e178dc21a03c7c61f5c50772def5c4934b
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."
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
}