wok-current annotate ttf-warenhaus-typenhebel/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | d1570adae0ba |
children |
rev | line source |
---|---|
hackdorte@19064 | 1 # SliTaz package receipt. |
hackdorte@19064 | 2 |
hackdorte@19064 | 3 PACKAGE="ttf-warenhaus-typenhebel" |
hackdorte@19064 | 4 VERSION="0.1" |
al@19125 | 5 CATEGORY="fonts" |
hackdorte@19064 | 6 SHORT_DESC="This font is an imitation of an old type writer." |
hackdorte@19064 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19064 | 8 LICENSE="PublicDomain" |
hackdorte@19064 | 9 SOURCE="warenhaus-typenhebel" |
hackdorte@19064 | 10 WEB_SITE="http://people.slitaz.org/~leonardolaporte" |
hackdorte@19064 | 11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain" |
hackdorte@19064 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
hackdorte@19064 | 13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL" |
hackdorte@19064 | 14 TAGS="font ttf" |
hackdorte@19064 | 15 |
hackdorte@19064 | 16 DEPENDS="" |
hackdorte@19064 | 17 BUILD_DEPENDS="wget" |
hackdorte@19064 | 18 |
pascal@24505 | 19 # What is the latest version available today? |
pascal@24505 | 20 current_version() |
pascal@24505 | 21 { |
pascal@24505 | 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24505 | 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24505 | 24 } |
pascal@24505 | 25 |
hackdorte@19064 | 26 # Rules to configure and make the package. |
hackdorte@19064 | 27 compile_rules() |
hackdorte@19064 | 28 { |
hackdorte@19064 | 29 mkdir -p $install/usr/share/fonts/pd/$SOURCE |
hackdorte@19064 | 30 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE |
hackdorte@19064 | 31 } |
hackdorte@19064 | 32 |
hackdorte@19064 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19064 | 34 genpkg_rules() |
hackdorte@19064 | 35 { |
hackdorte@19064 | 36 cp -a $install/* $fs |
hackdorte@19064 | 37 } |
hackdorte@19064 | 38 |
hackdorte@19064 | 39 post_install() |
hackdorte@19064 | 40 { |
pascal@19065 | 41 chroot "$1/" /usr/bin/fc-cache |
hackdorte@19064 | 42 } |