feat: add package source-han-sans

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-10-20 05:27:45 +00:00
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
+26
View File
@@ -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)