wok view unifont/receipt @ rev 25035

Up libqcow (20210419)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 18:11:13 2022 +0000 (2022-05-20)
parents 2f9b6b256fca
children c073aabaa2ad
line source
1 # SliTaz package receipt.
3 PACKAGE="unifont"
4 VERSION="13.0.01"
5 CATEGORY="fonts"
6 SHORT_DESC="The Standard GNU Unifont TTF."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPL2"
9 WEB_SITE="http://unifoundry.com/"
11 TARBALL="$PACKAGE-$VERSION.ttf"
12 WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \
18 sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p $install/usr/share/fonts/$PACKAGE
25 cp -a $src/* $install/usr/share/fonts/$PACKAGE
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }