25 lines
846 B
Bash
25 lines
846 B
Bash
# Template file for 'cantarell-fonts'
|
|
pkgname=cantarell-fonts
|
|
version=0.0.17.2
|
|
revision=1
|
|
noarch=yes
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
depends="fontconfig"
|
|
short_desc="Cantarell family of TrueType fonts"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://abattis.org/cantarell/"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
|
|
checksum=b5cf061c1cb37881c34c5bd5a6cad495236e50bef2386072800322f0ef5abf36
|
|
|
|
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
|
|
vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail
|
|
ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d
|
|
}
|