33 lines
808 B
Bash
33 lines
808 B
Bash
# Template file for 'font-fira-otf'
|
|
pkgname=font-fira-otf
|
|
version=4.202
|
|
revision=3
|
|
archs=noarch
|
|
wrksrc="Fira-${version}"
|
|
depends="font-util xbps-triggers"
|
|
short_desc="Mozilla's new typeface OTF, 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
|
|
|
|
font_dirs="/usr/share/fonts/OTF"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/OTF
|
|
vmkdir usr/share/fonts/TTF
|
|
|
|
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
|
|
}
|
|
}
|