wok-current view unifont/receipt @ rev 25411
updated winetricks (20200412 -> 20220411)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 07:24:24 2022 +0100 (2022-08-04) |
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 }