font-fira-otf: update to 4.202.

This commit is contained in:
maxice8 2019-03-23 22:52:18 -03:00 committed by maxice8
parent c2582087a5
commit ef08235303
3 changed files with 17 additions and 30 deletions

View File

@ -1,11 +1,10 @@
# Template file for 'font-fira-otf'
pkgname=font-fira-otf
version=4.202
revision=2
revision=3
archs=noarch
wrksrc=Fira-${version}
wrksrc="Fira-${version}"
depends="font-util xbps-triggers"
font_dirs="/usr/share/fonts/OTF"
short_desc="Mozilla's new typeface OTF, used in Firefox OS"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="OFL-1.1"
@ -13,11 +12,21 @@ homepage="http://mozilla.github.io/Fira/"
distfiles="https://github.com/mozilla/Fira/archive/${version}.tar.gz"
checksum=d86269657387f144d77ba12011124f30f423f70672e1576dc16f918bb16ddfe4
font_dirs="/usr/share/fonts/OTF"
do_install() {
vmkdir usr/share/fonts/OTF
vmkdir usr/share/fonts/TTF
for files in otf/*.otf; do
vinstall ${files} 0644 \
/usr/share/fonts/OTF/
done
vcopy otf/*.otf usr/share/fonts/OTF
vcopy ttf/*.ttf usr/share/fonts/TTF
}
font-fira-ttf_package() {
archs=noarch
font_dirs="/usr/share/fonts/TTF"
depends="font-util xbps-triggers"
pkg_install() {
vmove usr/share/fonts/TTF
}
}

1
srcpkgs/font-fira-ttf Symbolic link
View File

@ -0,0 +1 @@
font-fira-otf

View File

@ -1,23 +0,0 @@
# Template file for 'font-fira-ttf'
pkgname=font-fira-ttf
version=4.202
revision=2
archs=noarch
wrksrc=Fira-${version}
depends="font-util xbps-triggers"
font_dirs="/usr/share/fonts/TTF"
short_desc="Mozilla's new typeface TTF, used in Firefox OS"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="OFL-1.1"
homepage="http://mozilla.github.io/Fira/"
distfiles="https://github.com/mozilla/Fira/archive/${version}.tar.gz"
checksum=d86269657387f144d77ba12011124f30f423f70672e1576dc16f918bb16ddfe4
do_install() {
vmkdir usr/share/fonts/TTF
for files in ttf/*.ttf; do
vinstall ${files} 0644 \
/usr/share/fonts/TTF/
done
}