wok annotate ubuntu-font-family/receipt @ rev 25701
Up xcursor-comix (0.10.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 29 11:38:51 2024 +0000 (5 months ago) |
parents | b7f1bd1b9ac7 |
children |
rev | line source |
---|---|
pascal@13533 | 1 # SliTaz package receipt. |
pascal@13533 | 2 |
pascal@13533 | 3 PACKAGE="ubuntu-font-family" |
Hans-G?nter@23710 | 4 VERSION="0.83" |
al@19125 | 5 CATEGORY="fonts" |
Hans-G?nter@23710 | 6 SHORT_DESC="Set of new libre/open fonts." |
pascal@13533 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15601 | 8 LICENSE="other" |
Hans-G?nter@23710 | 9 WEB_SITE="https://design.ubuntu.com/font/" |
Hans-G?nter@23710 | 10 |
pascal@13533 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
Hans-G?nter@23710 | 12 WGET_URL="https://assets.ubuntu.com/v1/0cef8205-$TARBALL" |
pascal@13533 | 13 |
pascal@24713 | 14 # What is the latest version available today? |
pascal@24713 | 15 current_version() |
pascal@24713 | 16 { |
pascal@24713 | 17 wget -O - https://design.ubuntu.com/font/ 2>/dev/null | \ |
pascal@25602 | 18 sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q' |
pascal@24713 | 19 } |
pascal@24713 | 20 |
pascal@13533 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13533 | 22 genpkg_rules() |
pascal@13533 | 23 { |
pascal@13533 | 24 mkdir -p $fs/usr/share/fonts/truetype/ubuntu |
Hans-G?nter@23711 | 25 cp $src/* $fs/usr/share/fonts/truetype/ubuntu |
pascal@13533 | 26 } |