2018-08-02 20:10:52 +02:00
|
|
|
|
# Template file for 'font-ibm-plex-ttf'
|
|
|
|
|
pkgname=font-ibm-plex-ttf
|
2018-08-22 02:22:07 +02:00
|
|
|
|
version=1.1.5
|
2018-08-02 20:10:52 +02:00
|
|
|
|
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"
|
2018-08-22 02:22:07 +02:00
|
|
|
|
checksum=46b5238046ee82b2e0d844566ddcbc7cc6003aa4a5f56ba66a348bda1151ff81
|
2018-08-02 20:10:52 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|