feat: add package source-han-sans
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
1 parent
7cce55fdee
commit
ad46292d9c
2 files changed
+31
No files matched your search
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
command -v fc-cache >/dev/null 2>&1 || exit 0
|
||||
|
||||
fc-cache -fs
|
||||
@@ -0,0 +1,26 @@
|
||||
import os
|
||||
|
||||
from lib.make import *
|
||||
|
||||
upstream_version = "2.5.1"
|
||||
|
||||
version(upstream_version)
|
||||
description("Monospaced variant of the Fira Sans font series")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/adobe-fonts/source-han-sans/releases/download/2.005R/02_SourceHanSans-VF.zip")
|
||||
|
||||
|
||||
on_build(lambda: print("Building project."))
|
||||
|
||||
|
||||
def pack(composer):
|
||||
composer.makedirs("share/fonts/SourceHanSans")
|
||||
composer.addfile(
|
||||
"Variable/OTC/SourceHanSans-VF.otf.ttc",
|
||||
"share/fonts/SourceHanSans/SourceHanSans-VF.otf.ttc",
|
||||
)
|
||||
|
||||
package("source-han-sans")
|
||||
arch_any()
|
||||
configure_script("configure/fontconfig")
|
||||
on_pack(pack)
|
||||
Reference in new issue
Block a user