wok-current view ipaex-fonts/receipt @ rev 25425
updated xa (2.3.10 -> 2.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:31:57 2022 +0100 (2022-08-18) |
parents | eec3edc6ef52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ipaex-fonts"
4 VERSION="003.01"
5 CATEGORY="fonts"
6 SHORT_DESC="IPAexMincho and IPAexGothic (Sans serif) fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://moji.or.jp/ipafont/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont${VERSION/./}.zip"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://ctan.org/tex-archive/fonts/ipaex 2>/dev/null | \
18 sed '/^20[0-9][0-9]-/!d;/IPAex /!d;s|.*IPAex ||;s|,.*||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 cd $src
26 mkdir -p $fs/usr/share/fonts/TTF/ipaex
27 cp *.ttf $fs/usr/share/fonts/TTF/ipaex
29 mkdir -p $fs/usr/share/licenses/$PACKAGE
30 cp *.txt $fs/usr/share/licenses/$PACKAGE
31 }