remove ia64 keywords
[gentoo-zh.git] / media-fonts / taipei-sans-tc / taipei-sans-tc-1.0.ebuild
blob112b7d74f688780932e6bcb1432c8b48a6c06df0
1 # Copyright 2021-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
5 inherit font
7 MY_PN="TaipeiSansTCBeta"
8 P_REGULAR="${MY_PN}-Regular"
9 P_LIGHT="${MY_PN}-Light"
10 P_BOLD="${MY_PN}-Bold"
12 DESCRIPTION="JT Foundry - Taipei Sans TC Beta font"
13 HOMEPAGE="https://sites.google.com/view/jtfoundry/"
14 SRC_URI="https://drive.google.com/uc?export=download&id=1eGAsTN1HBpJAkeVM57_C7ccp7hbgSz3_ -> ${P_REGULAR}.ttf"
15 SRC_URI+=" https://drive.google.com/uc?export=download&id=1QdaqR8Setf4HEulrIW79UEV_Lg_fuoWz -> ${P_LIGHT}.ttf"
16 SRC_URI+=" https://drive.google.com/uc?export=download&id=1Om8izPz02Msc15onhS_ki1lrlAIf05Pd -> ${P_BOLD}.ttf"
18 S="${WORKDIR}"
20 LICENSE="OFL-1.1"
21 SLOT="0"
22 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
24 FONT_S="${S}"
25 FONT_SUFFIX="ttf"
27 src_unpack() {
28 for p in "${P_REGULAR}" "${P_BOLD}" "${P_LIGHT}"; do
29 cp "${DISTDIR}/${p}.${FONT_SUFFIX}" "${FONT_S}" || die
30 done