wok-current view ipaex-fonts/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | fa3033fa9507 |
children | eec3edc6ef52 |
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="http://ipafont.ipa.go.jp/"
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 }