wok-6.x view otf-gfs/receipt @ rev 15441

Up: eio (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:45 2013 +0100 (2013-11-05)
parents 50939119e32c
children f13bd223c231
line source
1 # SliTaz package receipt.
3 PACKAGE="otf-gfs"
4 VERSION="20100912"
5 CATEGORY="x-window"
6 SHORT_DESC="Selection of open type fonts from the Greek Font Society"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://www.greekfontsociety.gr/pages/gr_typefaces1.html"
9 TAGS="font otf"
10 EXTRA_SOURCE_FILES="GFS_DIDOT_OT.zip GFS_BODONI_OT.zip GFS_OLGA_OT.zip \
11 GFS_NEOHELLENIC_OT.zip GFS_ARTEMISIA_OT.zip GFS_THEOKRITOS_OT.zip \
12 GFS_PYRSOS.zip GFS_DIDOTCLASS_OT.zip GFS_Porson_OT.zip GFS_SOLOMOS_OT.zip \
13 GFS_DECKER.zip GFS_PHILOSTRATOS.zip GFS_GOSCHEN.zip GFS_BODONICLASS_OT.zip \
14 GFS_BASKERVILLE_OT.zip GFS_GAZIS.zip GFS_COMPLUTUM_OT.zip GFS_ELPIS_OT.zip"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $src && cd $src
20 for font in $EXTRA_SOURCE_FILES; do
21 [ -s $SOURCES_REPOSITORY/${font} ] ||
22 wget -O $SOURCES_REPOSITORY/${font} \
23 http://www.greekfontsociety.gr/${font}
24 cp $SOURCES_REPOSITORY/${font} .
25 unzip -o ${font}
26 done
27 FONTDIR=$fs/usr/share/fonts/OTF/GFS
28 mkdir -p $FONTDIR
29 install -Dm644 $src/GFS*/*otf $FONTDIR
30 }