wok-current annotate croscore-fonts/receipt @ rev 24759

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