wok view unifont/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | 2a0479881723 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="unifont"
4 VERSION="14.0.04"
5 CATEGORY="fonts"
6 SHORT_DESC="The Standard GNU Unifont TTF."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPL2"
9 WEB_SITE="https://unifoundry.com/"
10 REPOLOGY="fonts:unifont"
12 TARBALL="$PACKAGE-$VERSION.ttf"
13 WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \
19 sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $install/usr/share/fonts/$PACKAGE
26 cp -a $src/* $install/usr/share/fonts/$PACKAGE
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }