wok view ttf-bwahh/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (2022-08-10)
parents d1570adae0ba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-bwahh"
4 VERSION="0.1"
5 CATEGORY="fonts"
6 SHORT_DESC="Bwahh is public domain and futuristic display truetype font."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="PublicDomain"
9 SOURCE="bwahh"
10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
14 TAGS="font ttf"
16 DEPENDS=""
17 BUILD_DEPENDS="wget"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p $install/usr/share/fonts/pd/$SOURCE
30 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }
39 post_install()
40 {
41 chroot "$1/" /usr/bin/fc-cache
42 }