wok annotate 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
rev   line source
al@14224 1 # SliTaz package receipt.
al@14224 2
al@14224 3 PACKAGE="liberation-fonts-base"
al@14224 4 VERSION="2.00.1"
al@19125 5 CATEGORY="fonts"
al@14224 6 SHORT_DESC="Liberation fonts (only regular)"
al@14224 7 MAINTAINER="al.bobylev@gmail.com"
al@14742 8 LICENSE="SIL_OFL"
al@14224 9 WEB_SITE="https://www.redhat.com/promo/fonts/"
al@14224 10 SOURCE="liberation-fonts"
al@14224 11 TARBALL="$SOURCE-ttf-$VERSION.tar.gz"
al@14226 12 WGET_URL="https://fedorahosted.org/releases/l/i/$SOURCE/$TARBALL"
al@14224 13
al@14224 14 BUILD_DEPENDS="wget"
al@14224 15
pascal@24744 16 # What is the latest version available today?
pascal@24744 17 current_version()
pascal@24744 18 {
pascal@24744 19 wget -O - https://github.com/liberationfonts/liberation-fonts/releases 2>/dev/null | \
pascal@24744 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24744 21 }
pascal@24744 22
al@14224 23 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14224 24 genpkg_rules()
al@14224 25 {
al@14224 26 dir="$fs/usr/share/fonts/truetype/$SOURCE"
al@14224 27 mkdir -p $dir
al@14224 28 cp $src/*Regular.ttf $dir
al@14224 29 }