2011-04-07 09:27:32 +02:00
|
|
|
# Template file for 'cantarell-fonts'
|
|
|
|
pkgname=cantarell-fonts
|
2013-08-28 15:42:49 +02:00
|
|
|
version=0.0.14
|
2013-06-18 19:22:56 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="fontconfig"
|
2011-04-07 09:27:32 +02:00
|
|
|
short_desc="Cantarell family of TrueType fonts"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
2013-08-28 15:42:49 +02:00
|
|
|
checksum=d31c66e6156597c200f34cca1ce3885f72c931b204716e80ea39fd16a943b14a
|
2011-04-07 09:27:32 +02:00
|
|
|
|
2012-03-27 07:25:29 +02:00
|
|
|
post_install() {
|
|
|
|
vmkdir etc/fonts/conf.d
|
2011-04-07 09:27:32 +02:00
|
|
|
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
|
2011-04-07 09:27:32 +02:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
cantarell-fonts_package() {
|
|
|
|
depends="fontconfig"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
2013-06-18 19:22:56 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|