wok annotate unifont/receipt @ rev 24921
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 17:48:38 2022 +0000 (2022-04-10) |
parents | 2f9b6b256fca |
children | c073aabaa2ad |
rev | line source |
---|---|
hackdorte@18915 | 1 # SliTaz package receipt. |
hackdorte@18915 | 2 |
hackdorte@18917 | 3 PACKAGE="unifont" |
Hans-G?nter@23718 | 4 VERSION="13.0.01" |
al@19125 | 5 CATEGORY="fonts" |
hackdorte@18915 | 6 SHORT_DESC="The Standard GNU Unifont TTF." |
hackdorte@18915 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@18915 | 8 LICENSE="GPL2" |
al@19001 | 9 WEB_SITE="http://unifoundry.com/" |
hackdorte@18915 | 10 |
al@19001 | 11 TARBALL="$PACKAGE-$VERSION.ttf" |
Hans-G?nter@22076 | 12 WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL" |
hackdorte@18915 | 13 |
pascal@24436 | 14 # What is the latest version available today? |
pascal@24436 | 15 current_version() |
pascal@24436 | 16 { |
pascal@24436 | 17 wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \ |
pascal@24436 | 18 sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q |
pascal@24436 | 19 } |
pascal@24436 | 20 |
hackdorte@18915 | 21 # Rules to configure and make the package. |
hackdorte@18915 | 22 compile_rules() |
hackdorte@18915 | 23 { |
Hans-G?nter@22076 | 24 mkdir -p $install/usr/share/fonts/$PACKAGE |
Hans-G?nter@22076 | 25 cp -a $src/* $install/usr/share/fonts/$PACKAGE |
hackdorte@18915 | 26 } |
hackdorte@18915 | 27 |
hackdorte@18915 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@18915 | 29 genpkg_rules() |
hackdorte@18915 | 30 { |
Hans-G?nter@23718 | 31 cp -a $install/* $fs |
Hans-G?nter@22076 | 32 } |