wok view unifont/receipt @ rev 25710

typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 25 12:42:06 2024 +0000 (4 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 }