wok-next view 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 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"
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 genpkg_rules() {
18 mkdir -p $src && cd $src
19 for font in $EXTRA_SOURCE_FILES; do
20 [ -s $SRC/$font ] ||
21 wget -O $SRC/$font http://www.greekfontsociety.gr/$font
22 cp $SRC/$font .
23 unzip -o $font
24 done
25 FONTDIR=$fs/usr/share/fonts/OTF/GFS
26 mkdir -p $FONTDIR
27 install -Dm644 $src/GFS*/*otf $FONTDIR
28 TAGS="font otf"
29 }