Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font-sarasa-gothic: use correct path #54042

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions srcpkgs/font-sarasa-gothic/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=1.0.27
revision=1
revision=2
depends="font-util"
short_desc="CJK programming font based on Iosevka and Source Han Sans"
maintainer="B. Wilson <[email protected]>"
license="OFL-1.1"
homepage="https://github.com/be5invis/Sarasa-Gothic"
distfiles="https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/Sarasa-TTC-${version}.7z"
checksum=9eecd0122fa546d9a5f8d4b9b7fc6f9ddc41ca107b6f2990ae68456da80d61a6
font_dirs="/usr/share/fonts/TTF"
font_dirs="/usr/share/fonts/TTC/sarasa-gothic"

do_install() {
local file
for file in *.ttc; do
vinstall $file 0644 usr/share/fonts/TTF
done
vmkdir usr/share/fonts/TTC/sarasa-gothic
vcopy "*.ttc" usr/share/fonts/TTC/sarasa-gothic
}
Loading