New packages: font-ibm-plex 1.1.0 (#1410)
This commit is contained in:
parent
5835b773b3
commit
2708b9998d
2 changed files with 37 additions and 0 deletions
1
srcpkgs/font-ibm-plex-otf
Symbolic link
1
srcpkgs/font-ibm-plex-otf
Symbolic link
|
@ -0,0 +1 @@
|
|||
font-ibm-plex-ttf
|
36
srcpkgs/font-ibm-plex-ttf/template
Normal file
36
srcpkgs/font-ibm-plex-ttf/template
Normal 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 IBM’s 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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue