wok-current view croscore-fonts/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 3b8e19f28788 |
children | 73f36875e5a7 |
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="http://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 }