void-packages/srcpkgs/cantarell-fonts/template

26 lines
802 B
Plaintext
Raw Normal View History

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
2012-09-15 13:41:18 +02:00
version=0.0.10
2012-06-12 17:00:40 +02: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 17:00:40 +02:00
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
2012-09-15 13:41:18 +02:00
checksum=68c993f4445b1e703480d45a50fda4be5ed8e83cf45690f64f5fea9facc0e5c9
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 07:25:29 +02: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
}