font-ibm-plex-ttf: update to 1.3.0.

This commit is contained in:
maxice8 2019-03-15 00:13:14 -03:00 committed by maxice8
parent 25df4be885
commit 11a5d2b214
1 changed files with 7 additions and 12 deletions

View File

@ -1,24 +1,22 @@
# Template file for 'font-ibm-plex-ttf'
pkgname=font-ibm-plex-ttf
version=1.2.3
version=1.3.0
revision=1
archs=noarch
wrksrc="plex-${version}"
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
short_desc="The package of IBMs typeface, IBM Plex (TTF variant)"
short_desc="IBMs typeface, IBM Plex (TTF variant)"
maintainer="Vintodrimmer <vintodrimmer@protonmail.ch>"
license="OFL-1.1"
homepage="https://github.com/IBM/plex"
distfiles="https://github.com/IBM/plex/archive/v${version}.tar.gz"
checksum=8ab55e41861babdad99a77f955590308fc9e15426ca76db153120dd7e21b1083
checksum=780c2b4d2d0a9565ce25142a9568570fb851d54dab175daedee70a93c40fb576
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
for files in IBM-Plex-*/fonts/complete/ttf/*.ttf; do
vinstall ${files} 0644 \
usr/share/fonts/TTF
done
vcopy "IBM-Plex-*/fonts/complete/ttf/*.ttf" usr/share/fonts/TTF
}
font-ibm-plex-otf_package() {
@ -27,10 +25,7 @@ font-ibm-plex-otf_package() {
short_desc="${short_desc/TTF/OTF}"
pkg_install() {
vmkdir usr/share/fonts/OTF
for files in IBM-Plex-*/fonts/complete/otf/*.otf; do
vinstall ${files} 0644 \
usr/share/fonts/OTF
done
vcopy "IBM-Plex-*/fonts/complete/otf/*.otf" usr/share/fonts/OTF
}
}