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