2011-10-26 00:21:14 +02:00
|
|
|
# Template build file for 'liberation-fonts-ttf'.
|
|
|
|
pkgname=liberation-fonts-ttf
|
2014-09-06 20:57:17 +02:00
|
|
|
version=2.00.1
|
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
makedepends="font-util xbps-triggers>=0.58"
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
font_dirs="/usr/share/fonts/TTF"
|
2011-10-26 00:21:14 +02:00
|
|
|
short_desc="TrueType fonts from RedHat"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, ${pkgname}"
|
2012-08-07 23:27:08 +02:00
|
|
|
homepage="http://www.redhat.com/promo/fonts/"
|
|
|
|
distfiles="https://fedorahosted.org/releases/l/i/liberation-fonts/${pkgname}-${version}.tar.gz"
|
2014-09-06 20:57:17 +02:00
|
|
|
checksum=7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504
|
2011-10-26 00:21:14 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/TTF
|
|
|
|
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
|
2013-01-29 10:42:43 +01:00
|
|
|
|
|
|
|
# install fontconfig files
|
|
|
|
vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \
|
|
|
|
etc/fonts/conf.avail 30-${pkgname}-mono.conf
|
|
|
|
vinstall ${FILESDIR}/30-0-liberation-sans.conf 644 \
|
|
|
|
etc/fonts/conf.avail 30-${pkgname}-sans.conf
|
|
|
|
vinstall ${FILESDIR}/30-0-liberation-serif.conf 644 \
|
|
|
|
etc/fonts/conf.avail 30-${pkgname}-serif.conf
|
|
|
|
|
2014-09-06 20:57:17 +02:00
|
|
|
vlicense LICENSE
|
2011-10-26 00:21:14 +02:00
|
|
|
}
|