wok-current view ipaex-fonts/receipt @ rev 24809

created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author Hans-G?nter Theisgen
date Tue Mar 22 16:52:59 2022 +0100 (2022-03-22)
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 }