wok view liberation-fonts-base/receipt @ rev 25664
Up perl-convert-asn1 (0.34)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 11:01:36 2024 +0000 (8 months ago) |
parents | 15da8bede304 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="liberation-fonts-base"
4 VERSION="2.1.5"
5 CATEGORY="fonts"
6 SHORT_DESC="Liberation fonts (only regular)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="SIL_OFL"
9 WEB_SITE="https://github.com/liberationfonts/liberation-fonts/"
10 SOURCE="liberation-fonts"
11 TARBALL="$SOURCE-ttf-$VERSION.tar.gz"
12 WGET_URL="https://github.com/liberationfonts/liberation-fonts/files/7261482/$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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }