wok annotate liberation-fonts-base/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (6 months ago) |
parents | 15da8bede304 |
children |
rev | line source |
---|---|
al@14224 | 1 # SliTaz package receipt. |
al@14224 | 2 |
al@14224 | 3 PACKAGE="liberation-fonts-base" |
pascal@25590 | 4 VERSION="2.1.5" |
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" |
pascal@25590 | 9 WEB_SITE="https://github.com/liberationfonts/liberation-fonts/" |
al@14224 | 10 SOURCE="liberation-fonts" |
al@14224 | 11 TARBALL="$SOURCE-ttf-$VERSION.tar.gz" |
pascal@25590 | 12 WGET_URL="https://github.com/liberationfonts/liberation-fonts/files/7261482/$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@25600 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 } |