cantarell-fonts: update to 0.0.21

This commit is contained in:
Alessio Sergi 2016-01-23 00:01:21 +01:00
parent e7b7a56100
commit 958f36275e
1 changed files with 5 additions and 7 deletions

View File

@ -1,23 +1,21 @@
# Template file for 'cantarell-fonts' # Template file for 'cantarell-fonts'
pkgname=cantarell-fonts pkgname=cantarell-fonts
version=0.0.20.1 version=0.0.21
revision=1 revision=1
noarch=yes noarch=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-configdir=/etc/fonts/conf.avail"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
depends="fontconfig" depends="fontconfig"
short_desc="Cantarell family of TrueType fonts" short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://abattis.org/cantarell/" homepage="https://wiki.gnome.org/Projects/CantarellFonts"
license="GPL-2" license="OFL-1.1"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
checksum=0f933516f3270fb7307d9c2e26e4703b403608c5cc9da3127cba4395bcd4ec91 checksum=2d3e925574648f0902c61975f84acac445ee9cda826280644bdf772960b46e85
post_install() { post_install() {
vmkdir etc/fonts/conf.d 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 ln -s ../conf.avail/31-cantarell.conf ${DESTDIR}/etc/fonts/conf.d
vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail
ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d