Files
2026-10-20 05:27:45 +00:00

27 lines
658 B
Python

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)