wok-current view ttf-bwahh/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
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 }