wok annotate ttf-inconsolata-dz/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | b7f1bd1b9ac7 |
children | a5e183d53960 |
rev | line source |
---|---|
al@13848 | 1 # SliTaz package receipt. |
al@13848 | 2 |
al@13848 | 3 PACKAGE="ttf-inconsolata-dz" |
al@13848 | 4 VERSION="20091202" |
al@19125 | 5 CATEGORY="fonts" |
al@13848 | 6 SHORT_DESC="Monospace font for pretty code listings and for the terminal (modified to have straight single and double quotes)" |
al@13848 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15611 | 8 LICENSE="SIL_OFL" |
pascal@20689 | 9 WEB_SITE="https://web.archive.org/web/20170521002049/http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/" |
al@13848 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@25101 | 11 WGET_URL="https://web.archive.org/web/20170521002049/http://media.nodnod.net/Inconsolata-dz.otf.zip" |
al@13848 | 12 TAGS="font otf" |
al@13848 | 13 |
pascal@24713 | 14 # What is the latest version available today? |
pascal@24713 | 15 current_version() |
pascal@24713 | 16 { |
pascal@24713 | 17 wget -O - https://nodnod.net/posts/inconsolata-dz/ 2>/dev/null | \ |
pascal@24713 | 18 sed '/Update/!d;s|.*Update |"|;s|:.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24713 | 19 } |
pascal@24713 | 20 |
al@13848 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13848 | 22 genpkg_rules() |
al@13848 | 23 { |
al@13848 | 24 install -Dm644 $src/* $fs/usr/share/fonts/TTF/$PACKAGE.otf |
al@13848 | 25 } |