void-packages/srcpkgs/cantarell-fonts/template

32 lines
933 B
Text
Raw Normal View History

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
2012-12-21 07:52:46 +00:00
version=0.0.12
2013-01-29 09:33:14 +00:00
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-01-29 09:33:14 +00:00
homepage="http://abattis.org/cantarell/"
license="GPL-2"
2012-06-12 15:00:40 +00:00
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
2012-12-21 07:52:46 +00:00
checksum=3d509e1117dd92a6b80ef8b2586c89e178dc21a03c7c61f5c50772def5c4934b
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
2013-01-29 09:33:14 +00:00
vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail
ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d
}
cantarell-fonts_package() {
depends="fontconfig"
noarch="yes"
pkg_install() {
vmove usr
}
}