net-im/tencent-qq: bump version to 3.2.15_p241224
[gentoo-zh.git] / media-fonts / zhudou / zhudou-2.000.ebuild
blob37de6ba994b639bb5cf8c1855b00d500c4560815
1 # Copyright 1999-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit font
8 MY_PN="Zhudou-Sans"
10 DESCRIPTION="A font family for CJK symbols and punctuation, derived from Noto Sans."
11 HOMEPAGE="https://github.com/Buernia/Zhudou-Sans"
12 SRC_URI="https://github.com/Buernia/Zhudou-Sans/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
14 S="${WORKDIR}/${MY_PN}-${PV}"
15 LICENSE="OFL-1.1"
16 SLOT="0"
17 KEYWORDS="~amd64"
19 FONT_SUFFIX="ttf"
21 src_unpack() {
22 default
24 # remove README.md to prevent it from being installed as doc
25 rm "${S}/README.md" || die
27 # mv font files from sub-dirs to ${S}
28 mv "${S}"/fonts/ttf/*.ttf "${S}"/ || die
29 mv "${S}"/fonts/variable/*.ttf "${S}"/ || die