wok diff otf-gfs/receipt @ rev 24713
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 14 18:23:09 2022 +0000 (2022-03-14) |
parents | ad40252740a7 |
children | cb67b4f8be05 |
line diff
1.1 --- a/otf-gfs/receipt Thu Jan 31 23:57:12 2019 +0100 1.2 +++ b/otf-gfs/receipt Mon Mar 14 18:23:09 2022 +0000 1.3 @@ -1,31 +1,53 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="otf-gfs" 1.7 -VERSION="20100912" 1.8 +VERSION="20211229" 1.9 CATEGORY="fonts" 1.10 -SHORT_DESC="Selection of open type fonts from the Greek Font Society" 1.11 +TAGS="font otf" 1.12 +SHORT_DESC="Selection of open type fonts from the Greek Font Society." 1.13 MAINTAINER="al.bobylev@gmail.com" 1.14 LICENSE="SIL_OFL" 1.15 -WEB_SITE="https://www.greekfontsociety-gfs.gr" 1.16 -TAGS="font otf" 1.17 -EXTRA_SOURCE_FILES="GFS_DIDOT_OT.zip GFS_BODONI_OT.zip GFS_OLGA_OT.zip \ 1.18 -GFS_NEOHELLENIC_OT.zip GFS_ARTEMISIA_OT.zip GFS_THEOKRITOS_OT.zip \ 1.19 -GFS_PYRSOS.zip GFS_DIDOTCLASS_OT.zip GFS_Porson_OT.zip GFS_SOLOMOS_OT.zip \ 1.20 -GFS_DECKER.zip GFS_PHILOSTRATOS.zip GFS_GOSCHEN.zip GFS_BODONICLASS_OT.zip \ 1.21 -GFS_BASKERVILLE_OT.zip GFS_GAZIS.zip GFS_COMPLUTUM_OT.zip GFS_ELPIS_OT.zip" 1.22 +WEB_SITE="http://www.greekfontsociety-gfs.gr" 1.23 + 1.24 +EXTRA_SOURCE_FILES=" GFS_Artemisia.zip 1.25 + GFS_Baskerville.zip 1.26 + GFS_Bodoni.zip 1.27 + GFS_Bodoni_Classic.zip 1.28 + GFS_Complutum.zip 1.29 + GFS_Decker.zip 1.30 + GFS_Didot.zip 1.31 + GFS_Didot_Classic.zip 1.32 + GFS_Didot_Display.zip 1.33 + GFS_Elpis.zip 1.34 + GFS_Galatea.zip 1.35 + GFS_Gazis.zip 1.36 + GFS_Georgiou.zip 1.37 + GFS_Goschen.zip 1.38 + GFS_Heraklit.zip 1.39 + GFS_NeoHellenic.zip 1.40 + GFS_Olga.zip 1.41 + GFS_Orpheus.zip 1.42 + GFS_Orpheus_Classic.zip 1.43 + GFS_Orpheus_Sans.zip 1.44 + GFS_Philostratos.zip 1.45 + GFS_Porson.zip 1.46 + GFS_Pyrsos.zip 1.47 + GFS_Solomos.zip 1.48 + GFS_Theokritos.zip" 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 genpkg_rules() 1.52 { 1.53 - mkdir -p $src && cd $src 1.54 - for font in $EXTRA_SOURCE_FILES; do 1.55 - [ -s $SOURCES_REPOSITORY/${font} ] || 1.56 - wget -O $SOURCES_REPOSITORY/${font} \ 1.57 - http://www.greekfontsociety.gr/${font} 1.58 - cp $SOURCES_REPOSITORY/${font} . 1.59 - unzip -o ${font} 1.60 - done 1.61 + mkdir -p $src 1.62 + cd $src 1.63 + for font in $EXTRA_SOURCE_FILES 1.64 + do 1.65 + [ -s $SOURCES_REPOSITORY/$font ] || 1.66 + wget -O $SOURCES_REPOSITORY/$font $WEB_SITE/_assets/fonts/$font 1.67 + cp $SOURCES_REPOSITORY/$font . 1.68 + unzip -o $font 1.69 + done 1.70 FONTDIR=$fs/usr/share/fonts/OTF/GFS 1.71 mkdir -p $FONTDIR 1.72 - install -Dm644 $src/GFS*/*otf $FONTDIR 1.73 + install -Dm644 $src/GFS*/*otf $FONTDIR 1.74 }