void-packages/srcpkgs/cantarell-fonts/template

26 lines
802 B
Plaintext

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.11
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=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
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
}