wok-current view ipaex-fonts/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
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 }