wok-current view liberation-fonts-base/receipt @ rev 25017
updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 06:55:41 2022 +0100 (2022-05-18) |
parents | d1570adae0ba |
children |
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 }