wok-current view ubuntu-font-family/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | ab5eb5567ce7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ubuntu-font-family"
4 VERSION="0.83"
5 CATEGORY="fonts"
6 SHORT_DESC="Set of new libre/open fonts."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://design.ubuntu.com/font/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://assets.ubuntu.com/v1/0cef8205-$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://design.ubuntu.com/font/ 2>/dev/null | \
18 gunzip | sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/fonts/truetype/ubuntu
25 cp $src/* $fs/usr/share/fonts/truetype/ubuntu
26 }