wok-6.x view otf-transcends-games/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | d1570adae0ba |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="otf-transcends-games"
4 VERSION="0.1"
5 CATEGORY="fonts"
6 SHORT_DESC="Transcends Games is a font with retro-futuristic style."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="PublicDomain"
9 SOURCE="transcends-games"
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 otf"
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 }