wok annotate ipaex-fonts/receipt @ rev 24744

ncursesw-dev: add pkg config files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 10:01:11 2022 +0000 (2022-03-16)
parents fa3033fa9507
children eec3edc6ef52
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"
al@19612 9 WEB_SITE="http://ipafont.ipa.go.jp/"
al@19612 10
al@19612 11 TARBALL="$PACKAGE-$VERSION.zip"
al@19612 12 WGET_URL="http://dl.ipafont.ipa.go.jp/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 }