wok annotate tuffy-font/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | d1570adae0ba |
children |
rev | line source |
---|---|
hackdorte@18914 | 1 # SliTaz package receipt. |
hackdorte@18914 | 2 |
hackdorte@18914 | 3 PACKAGE="tuffy-font" |
hackdorte@18914 | 4 VERSION="1.28" |
al@19125 | 5 CATEGORY="fonts" |
hackdorte@18914 | 6 SHORT_DESC="Tuffy font family is a neutral and readable sans-serif text font." |
hackdorte@18914 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@18914 | 8 LICENSE="PublicDomain" |
hackdorte@18914 | 9 WEB_SITE="http://tulrich.com/fonts/" |
hackdorte@18914 | 10 |
hackdorte@18914 | 11 TARBALL="tuffy-20120614.zip" |
al@19001 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
hackdorte@18914 | 13 |
hackdorte@18914 | 14 DEPENDS="" |
hackdorte@18914 | 15 BUILD_DEPENDS="wget" |
hackdorte@18914 | 16 |
pascal@24425 | 17 # What is the latest version available today? |
pascal@24425 | 18 current_version() |
pascal@24425 | 19 { |
pascal@24425 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 21 sed '/tuffy-/!d;/tar/!d;s|.*tuffy-\([0-9\.]*\).tar.*|\1|' | sort -Vr | sed q |
pascal@24425 | 22 } |
pascal@24425 | 23 |
hackdorte@18914 | 24 # Rules to configure and make the package. |
hackdorte@18914 | 25 compile_rules() |
hackdorte@18914 | 26 { |
hackdorte@18914 | 27 mkdir -p $install/usr/share/fonts/tuffy |
hackdorte@18914 | 28 cp -a $src/* $install/usr/share/fonts/tuffy |
hackdorte@18914 | 29 } |
hackdorte@18914 | 30 |
hackdorte@18914 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@18914 | 32 genpkg_rules() |
hackdorte@18914 | 33 { |
hackdorte@18914 | 34 cp -a $install/* $fs |
hackdorte@18914 | 35 } |