void-packages/srcpkgs/cantarell-fonts/template

26 lines
802 B
Text
Raw Normal View History

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
2012-11-15 21:46:43 +00:00
version=0.0.11
2012-06-12 15:00:40 +00:00
revision=1
build_style=gnu-configure
makedepends="pkg-config"
fulldepends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-06-12 15:00:40 +00:00
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
2012-11-15 21:46:43 +00:00
checksum=89b68fc3e9557309bbca1a174210dad3525a7908d4c11dff20f7e9a01f940b63
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
2012-03-27 05:25:29 +00:00
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
}