wok-current view ipaex-fonts/receipt @ rev 24900
updated megatools (1.9.96 -> 1.10.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 10:09:47 2022 +0100 (2022-04-09) |
parents | 4ce52a0b72fd |
children | 00e3b45c063b |
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="http://dl.ipafont.ipa.go.jp/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 }