mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
noto-fonts-ttf: install and split variable fonts
This commit is contained in:
parent
e522487a8c
commit
696ad31d67
2 changed files with 14 additions and 2 deletions
1
srcpkgs/noto-fonts-ttf-variable
Symbolic link
1
srcpkgs/noto-fonts-ttf-variable
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
noto-fonts-ttf
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=noto-fonts-ttf
|
pkgname=noto-fonts-ttf
|
||||||
reverts="20220810_1 20190926_2 20190926_1 20181202_1 20181106_1"
|
reverts="20220810_1 20190926_2 20190926_1 20181202_1 20181106_1"
|
||||||
version=24.8.1
|
version=24.8.1
|
||||||
revision=1
|
revision=2
|
||||||
depends="font-util"
|
depends="font-util"
|
||||||
short_desc="Google Noto TTF Fonts"
|
short_desc="Google Noto TTF Fonts"
|
||||||
maintainer="classabbyamp <void@placeviolette.net>"
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
|
@ -14,9 +14,9 @@ font_dirs="/usr/share/fonts/noto"
|
||||||
nostrip=yes # just font files
|
nostrip=yes # just font files
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vlicense fonts/LICENSE
|
|
||||||
vmkdir usr/share/fonts/noto
|
vmkdir usr/share/fonts/noto
|
||||||
vcopy "fonts/Noto*/hinted/ttf/*.ttf" usr/share/fonts/noto
|
vcopy "fonts/Noto*/hinted/ttf/*.ttf" usr/share/fonts/noto
|
||||||
|
vlicense fonts/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
noto-fonts-ttf-extra_package() {
|
noto-fonts-ttf-extra_package() {
|
||||||
|
@ -36,3 +36,14 @@ noto-fonts-ttf-extra_package() {
|
||||||
vmove "usr/share/fonts/noto/Noto*-*Black*.ttf"
|
vmove "usr/share/fonts/noto/Noto*-*Black*.ttf"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noto-fonts-ttf-variable_package() {
|
||||||
|
short_desc+=" - variable weight fonts"
|
||||||
|
depends="font-util"
|
||||||
|
nostrip=yes # just font files
|
||||||
|
pkg_install() {
|
||||||
|
vmkdir usr/share/fonts/noto
|
||||||
|
vcopy "fonts/Noto*/unhinted/slim-variable-ttf/Noto*.ttf" usr/share/fonts/noto
|
||||||
|
vlicense fonts/LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue