New packages: font-ibm-plex 1.1.0 (#1410)

This commit is contained in:
cr6git 2018-08-02 20:10:52 +02:00 committed by GitHub
parent 5835b773b3
commit 2708b9998d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

1
srcpkgs/font-ibm-plex-otf Symbolic link
View File

@ -0,0 +1 @@
font-ibm-plex-ttf

View File

@ -0,0 +1,36 @@
# Template file for 'font-ibm-plex-ttf'
pkgname=font-ibm-plex-ttf
version=1.1.0
revision=1
wrksrc="plex-${version}"
noarch=yes
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
short_desc="The package of 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=6f8531b9eea476631d6238c25f43c49caa9f469f0488d734f9b61b96eedf318f
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
}
font-ibm-plex-otf_package() {
depends="font-util"
font_dirs="/usr/share/fonts/OTF"
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
}
}