wok view otf-gfs/receipt @ rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents ad40252740a7
children cb67b4f8be05
line source
1 # SliTaz package receipt.
3 PACKAGE="otf-gfs"
4 VERSION="20211229"
5 CATEGORY="fonts"
6 TAGS="font otf"
7 SHORT_DESC="Selection of open type fonts from the Greek Font Society."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="SIL_OFL"
10 WEB_SITE="http://www.greekfontsociety-gfs.gr"
12 EXTRA_SOURCE_FILES=" GFS_Artemisia.zip
13 GFS_Baskerville.zip
14 GFS_Bodoni.zip
15 GFS_Bodoni_Classic.zip
16 GFS_Complutum.zip
17 GFS_Decker.zip
18 GFS_Didot.zip
19 GFS_Didot_Classic.zip
20 GFS_Didot_Display.zip
21 GFS_Elpis.zip
22 GFS_Galatea.zip
23 GFS_Gazis.zip
24 GFS_Georgiou.zip
25 GFS_Goschen.zip
26 GFS_Heraklit.zip
27 GFS_NeoHellenic.zip
28 GFS_Olga.zip
29 GFS_Orpheus.zip
30 GFS_Orpheus_Classic.zip
31 GFS_Orpheus_Sans.zip
32 GFS_Philostratos.zip
33 GFS_Porson.zip
34 GFS_Pyrsos.zip
35 GFS_Solomos.zip
36 GFS_Theokritos.zip"
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $src
42 cd $src
43 for font in $EXTRA_SOURCE_FILES
44 do
45 [ -s $SOURCES_REPOSITORY/$font ] ||
46 wget -O $SOURCES_REPOSITORY/$font $WEB_SITE/_assets/fonts/$font
47 cp $SOURCES_REPOSITORY/$font .
48 unzip -o $font
49 done
50 FONTDIR=$fs/usr/share/fonts/OTF/GFS
51 mkdir -p $FONTDIR
52 install -Dm644 $src/GFS*/*otf $FONTDIR
53 }