wok view croscore-fonts/receipt @ rev 25140
updated pigz (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:12:55 2022 +0100 (2022-06-29) |
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 }