wok annotate ttf-inconsolata-dz/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents c49ffc024a6c
children fa5a8f0acc3b
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"
al@13848 11 WGET_URL="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 }