liberation-fonts-ttf: update to 2.1.0.

This commit is contained in:
travankor 2020-02-23 14:16:10 -07:00 committed by Piraty
parent 4c9f33a59b
commit 158256732a

View file

@ -1,21 +1,24 @@
# Template file for 'liberation-fonts-ttf'
pkgname=liberation-fonts-ttf
version=2.00.5
version=2.1.0
revision=1
archs=noarch
makedepends="font-util xbps-triggers"
depends="${makedepends}"
wrksrc=${pkgname%-*}-${version}
build_style=gnu-makefile
hostmakedepends="fontforge fonttools"
depends="font-util"
short_desc="TrueType fonts from RedHat"
maintainer="Orphaned <orphan@voidlinux.org>"
license="OFL-1.1"
homepage="https://github.com/liberationfonts/liberation-fonts"
distfiles="https://github.com/liberationfonts/liberation-fonts/files/2926169/liberation-fonts-ttf-${version}.tar.gz"
checksum=f14ff0a0be87b5aeb672e669363b5a699db76feb1144b06798261c0fdcd2b24d
changelog="https://raw.githubusercontent.com/liberationfonts/liberation-fonts/devel/ChangeLog"
distfiles="https://github.com/liberationfonts/liberation-fonts/archive/${version}.tar.gz"
checksum=a7761e42b43dfd0b4580f411829062ef98a6de6c2bafe0bfaf3041eb057d9107
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
install -m644 ${pkgname}-${version}/*.ttf ${DESTDIR}/usr/share/fonts/TTF
# install fontconfig files
vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \
@ -24,6 +27,4 @@ do_install() {
etc/fonts/conf.avail 30-${pkgname}-sans.conf
vinstall ${FILESDIR}/30-0-liberation-serif.conf 644 \
etc/fonts/conf.avail 30-${pkgname}-serif.conf
vlicense LICENSE
}