2011-10-25 22:21:14 +00:00
|
|
|
# Template build file for 'liberation-fonts-ttf'.
|
|
|
|
pkgname=liberation-fonts-ttf
|
2012-08-07 21:27:08 +00:00
|
|
|
version=2.00.0
|
2013-01-29 09:42:43 +00:00
|
|
|
revision=2
|
2011-10-25 22:21:14 +00:00
|
|
|
short_desc="TrueType fonts from RedHat"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, ${pkgname}"
|
2012-08-07 21:27:08 +00:00
|
|
|
homepage="http://www.redhat.com/promo/fonts/"
|
|
|
|
distfiles="https://fedorahosted.org/releases/l/i/liberation-fonts/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=3b7214e7352b8e4990c71018031ecb0f40d6793f140d7a956d7345997c8c5100
|
2011-10-25 22:21:14 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="font-util xbps-triggers>=0.58"
|
2011-10-25 22:21:14 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/TTF
|
|
|
|
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
|
2013-01-29 09:42:43 +00: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
|
|
|
|
|
2012-08-07 21:27:08 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
2011-10-25 22:21:14 +00:00
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
liberation-fonts-ttf_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|