wok-6.x view unifont/receipt @ rev 25559
updated xfce4-ristretto 0.6.3 -> 0.8.5
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 25 15:16:20 2023 +0100 (18 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 }