void-packages/srcpkgs/cantarell-fonts/template

25 lines
844 B
Bash
Raw Normal View History

# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
2014-11-07 20:47:59 +01:00
version=0.0.16
2015-05-15 09:25:46 +02:00
revision=2
2014-11-07 20:47:59 +01:00
noarch=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
2015-05-15 09:25:46 +02:00
depends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-01-29 10:33:14 +01:00
homepage="http://abattis.org/cantarell/"
license="GPL-2"
2012-06-12 17:00:40 +02:00
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
2014-11-07 20:49:31 +01:00
checksum=15bf87555321556750bc68ace360f3df420359a8ab257e15c44fb69710152f1c
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
2013-01-29 10:33:14 +01: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
}