✨ init(*): 初始化项目。

This commit is contained in:
Shuery committed 2026-11-21 17:37:15 +08:00
commit c4b95933f4
136 files changed
+4550

No files matched your search

@@ -0,0 +1,16 @@
pkgbase = ttf-sarasa-ui-tc-nerd-font
pkgdesc = Sarasa Gothic Nerd Font / 更纱书呆黑体:UI (Narrow Quotes) / 更纱界面黑体(半宽引号);Taiwanese Traditional Chinese / 台湾繁体中文。
pkgver = 1.0.43_0
pkgrel = 3
url = https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts
arch = any
license = OFL-1.1
provides = ttf-font
conflicts = ttf-sarasa-gothic-nerd-fonts
noextract = ttf-sarasa-ui-tc-nerd-font.zip
source = ttf-sarasa-ui-tc-nerd-font.zip::https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/releases/download/v1.0.43-0/sarasa-ui-tc-nerd-font.zip
source = LICENSE::https://raw.githubusercontent.com/be5invis/Sarasa-Gothic/main/LICENSE
sha256sums = 1f160e6da82d5c63e8f5d610cc23aa427585a9301e51962ee2b5e108e856e985
sha256sums = 32c932e0dbae4f6e6386964bbc2d04178707665a05ca65cf636241af13d50a53
pkgname = ttf-sarasa-ui-tc-nerd-font
@@ -0,0 +1,34 @@
# Maintainer: Shuery Shuai <[email protected]>
pkgname='ttf-sarasa-ui-tc-nerd-font'
pkgver='1.0.43_0'
pkgrel='3'
pkgdesc='Sarasa Gothic Nerd Font / 更纱书呆黑体:UI (Narrow Quotes) / 更纱界面黑体(半宽引号);Taiwanese Traditional Chinese / 台湾繁体中文。'
arch=('any')
url='https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts'
license=('OFL-1.1')
provides=('ttf-font')
conflicts=('ttf-sarasa-gothic-nerd-fonts')
source=(
"${pkgname}.zip::https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/releases/download/v1.0.43-0/sarasa-ui-tc-nerd-font.zip"
'LICENSE::https://raw.githubusercontent.com/be5invis/Sarasa-Gothic/main/LICENSE'
)
noextract=("${pkgname}.zip")
sha256sums=(
'1f160e6da82d5c63e8f5d610cc23aa427585a9301e51962ee2b5e108e856e985'
'32c932e0dbae4f6e6386964bbc2d04178707665a05ca65cf636241af13d50a53'
)
package() {
local font_dir font_destination
font_dir=$(mktemp -d "${srcdir}/${pkgname}.XXXXXX")
font_destination="${pkgdir}/usr/share/fonts/${pkgname}"
bsdtar -xf "${srcdir}/${pkgname}.zip" -C "${font_dir}/"
install -d "${font_destination}"
find "${font_dir}" -maxdepth 1 -type f -name '*.ttf' \
-exec install -m644 {} "${font_destination}/" \;
rm -rf "${font_dir}"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}