wok-current view liberation-fonts-base/receipt @ rev 25038
make cups-filters compile with qpdf-dev-10.6.1
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 26 10:57:02 2022 +0100 (2022-05-26) |
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 }