wok view liberation-fonts-base/receipt @ rev 25123

updated ansible (2.9.10 -> 2.11.6)
author Hans-G?nter Theisgen
date Tue Jun 28 16:17:54 2022 +0100 (2022-06-28)
parents d1570adae0ba
children 15da8bede304
line source
1 # SliTaz package receipt.
3 PACKAGE="liberation-fonts-base"
4 VERSION="2.00.1"
5 CATEGORY="fonts"
6 SHORT_DESC="Liberation fonts (only regular)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="SIL_OFL"
9 WEB_SITE="https://www.redhat.com/promo/fonts/"
10 SOURCE="liberation-fonts"
11 TARBALL="$SOURCE-ttf-$VERSION.tar.gz"
12 WGET_URL="https://fedorahosted.org/releases/l/i/$SOURCE/$TARBALL"
14 BUILD_DEPENDS="wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/liberationfonts/liberation-fonts/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 dir="$fs/usr/share/fonts/truetype/$SOURCE"
27 mkdir -p $dir
28 cp $src/*Regular.ttf $dir
29 }