wok-next diff otf-gfs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d43bf7aae921
children 89617d35ca0c
line diff
     1.1 --- a/otf-gfs/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/otf-gfs/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -7,25 +7,23 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="SIL_OFL"
     1.6  WEB_SITE="http://www.greekfontsociety.gr/pages/gr_typefaces1.html"
     1.7 -TAGS="font otf"
     1.8 +
     1.9  EXTRA_SOURCE_FILES="GFS_DIDOT_OT.zip GFS_BODONI_OT.zip GFS_OLGA_OT.zip \
    1.10  GFS_NEOHELLENIC_OT.zip GFS_ARTEMISIA_OT.zip GFS_THEOKRITOS_OT.zip \
    1.11  GFS_PYRSOS.zip GFS_DIDOTCLASS_OT.zip GFS_Porson_OT.zip GFS_SOLOMOS_OT.zip \
    1.12  GFS_DECKER.zip GFS_PHILOSTRATOS.zip GFS_GOSCHEN.zip GFS_BODONICLASS_OT.zip \
    1.13  GFS_BASKERVILLE_OT.zip GFS_GAZIS.zip GFS_COMPLUTUM_OT.zip GFS_ELPIS_OT.zip"
    1.14  
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 +genpkg_rules() {
    1.19  	mkdir -p $src && cd $src
    1.20  	for font in $EXTRA_SOURCE_FILES; do
    1.21 -		[ -s $SRC/${font} ] ||
    1.22 -			wget -O $SRC/${font} \
    1.23 -				http://www.greekfontsociety.gr/${font}
    1.24 -		cp $SRC/${font} .
    1.25 -		unzip -o ${font}
    1.26 +		[ -s $SRC/$font ] ||
    1.27 +			wget -O $SRC/$font http://www.greekfontsociety.gr/$font
    1.28 +		cp $SRC/$font .
    1.29 +		unzip -o $font
    1.30  	done
    1.31  	FONTDIR=$fs/usr/share/fonts/OTF/GFS
    1.32  	mkdir -p $FONTDIR
    1.33  	install -Dm644 $src/GFS*/*otf $FONTDIR
    1.34 +	TAGS="font otf"
    1.35  }