wok-6.x view croscore-fonts/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (20 months ago)
parents b01314c762e9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="croscore-fonts"
4 VERSION="1.31.0"
5 CATEGORY="fonts"
6 TAGS="font ttf"
7 SHORT_DESC="Chrome OS Fonts: Arimo (sans), Cousine (monospace), and Tinos (serif)"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="SIL_OFL"
10 WEB_SITE="https://fedoraproject.org/wiki/Google_Croscore_fonts"
12 TARBALL="croscorefonts-$VERSION.tar.bz2"
13 WGET_URL="http://gsdview.appspot.com/chromeos-localmirror/distfiles/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - "http://gsdview.appspot.com/chromeos-localmirror/distfiles/?marker=distfiles%2Fcroscorefonts-0.0.1.tar.gz" 2>/dev/null | \
19 sed '/croscorefonts-[0-9]/!d;s|.*croscorefonts-||;s|.t.*||' | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 FONTPATH=$fs/usr/share/fonts/truetype/croscore
26 mkdir -p $FONTPATH
28 for FILE in $src/*.ttf; do
29 install -Dm444 $FILE $FONTPATH
30 done
31 }