wok annotate ttf-open-dyslexic/receipt @ rev 24139
Add redupe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 09 17:05:26 2021 +0000 (2021-11-09) |
parents | 668f33bfa682 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@13849 | 1 # SliTaz package receipt. |
pascal@13849 | 2 |
pascal@13849 | 3 PACKAGE="ttf-open-dyslexic" |
Hans-G?nter@22055 | 4 VERSION="20160623" |
al@19125 | 5 CATEGORY="fonts" |
Hans-G?nter@22055 | 6 TAGS="font ttf" |
pascal@13849 | 7 SHORT_DESC="TrueType font to increase readability for dyslexic readers." |
pascal@13849 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="CC-SA" |
Hans-G?nter@22055 | 10 WEB_SITE="https://opendyslexic.org/" |
Hans-G?nter@22055 | 11 |
pascal@14355 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14355 | 13 WGET_URL="https://github.com/antijingoist/open-dyslexic/archive/$VERSION-Stable.tar.gz" |
pascal@13849 | 14 |
pascal@24055 | 15 current_version() |
pascal@24055 | 16 { |
pascal@24055 | 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 18 sed '/archive.*tar/!d;s|.*/\(.*\)-Stable.tar.*|\1|;q' |
pascal@24055 | 19 } |
pascal@24055 | 20 |
pascal@13849 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13849 | 22 genpkg_rules() |
pascal@13849 | 23 { |
pascal@13849 | 24 TTFDIR=$fs/usr/share/fonts/TTF/OpenDyslexic |
pascal@13849 | 25 mkdir -p $TTFDIR |
pascal@13849 | 26 install -m644 $src/ttf/*.ttf $TTFDIR |
pascal@13849 | 27 } |