wok-current view otf-gfs/receipt @ rev 19968

R: update deps (thanks Kevlar)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 02 11:21:58 2017 +0200 (2017-06-02)
parents f13bd223c231
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="otf-gfs"
4 VERSION="20100912"
5 CATEGORY="fonts"
6 SHORT_DESC="Selection of open type fonts from the Greek Font Society"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="SIL_OFL"
9 WEB_SITE="http://www.greekfontsociety.gr/pages/gr_typefaces1.html"
10 TAGS="font otf"
11 EXTRA_SOURCE_FILES="GFS_DIDOT_OT.zip GFS_BODONI_OT.zip GFS_OLGA_OT.zip \
12 GFS_NEOHELLENIC_OT.zip GFS_ARTEMISIA_OT.zip GFS_THEOKRITOS_OT.zip \
13 GFS_PYRSOS.zip GFS_DIDOTCLASS_OT.zip GFS_Porson_OT.zip GFS_SOLOMOS_OT.zip \
14 GFS_DECKER.zip GFS_PHILOSTRATOS.zip GFS_GOSCHEN.zip GFS_BODONICLASS_OT.zip \
15 GFS_BASKERVILLE_OT.zip GFS_GAZIS.zip GFS_COMPLUTUM_OT.zip GFS_ELPIS_OT.zip"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $src && cd $src
21 for font in $EXTRA_SOURCE_FILES; do
22 [ -s $SOURCES_REPOSITORY/${font} ] ||
23 wget -O $SOURCES_REPOSITORY/${font} \
24 http://www.greekfontsociety.gr/${font}
25 cp $SOURCES_REPOSITORY/${font} .
26 unzip -o ${font}
27 done
28 FONTDIR=$fs/usr/share/fonts/OTF/GFS
29 mkdir -p $FONTDIR
30 install -Dm644 $src/GFS*/*otf $FONTDIR
31 }