wok annotate otf-gfs/receipt @ rev 16259
ARM: add gob2 gmrun slock
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 07:05:11 2014 +0200 (2014-04-05) |
parents | aa4f4cb93068 |
children | d1570adae0ba |
rev | line source |
---|---|
al@13848 | 1 # SliTaz package receipt. |
al@13848 | 2 |
al@13848 | 3 PACKAGE="otf-gfs" |
al@13848 | 4 VERSION="20100912" |
al@13848 | 5 CATEGORY="x-window" |
al@13848 | 6 SHORT_DESC="Selection of open type fonts from the Greek Font Society" |
al@13848 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15611 | 8 LICENSE="SIL_OFL" |
al@13848 | 9 WEB_SITE="http://www.greekfontsociety.gr/pages/gr_typefaces1.html" |
al@13848 | 10 TAGS="font otf" |
pascal@15153 | 11 EXTRA_SOURCE_FILES="GFS_DIDOT_OT.zip GFS_BODONI_OT.zip GFS_OLGA_OT.zip \ |
pascal@15166 | 12 GFS_NEOHELLENIC_OT.zip GFS_ARTEMISIA_OT.zip GFS_THEOKRITOS_OT.zip \ |
pascal@15148 | 13 GFS_PYRSOS.zip GFS_DIDOTCLASS_OT.zip GFS_Porson_OT.zip GFS_SOLOMOS_OT.zip \ |
pascal@15148 | 14 GFS_DECKER.zip GFS_PHILOSTRATOS.zip GFS_GOSCHEN.zip GFS_BODONICLASS_OT.zip \ |
pascal@15166 | 15 GFS_BASKERVILLE_OT.zip GFS_GAZIS.zip GFS_COMPLUTUM_OT.zip GFS_ELPIS_OT.zip" |
al@13848 | 16 |
al@13848 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13848 | 18 genpkg_rules() |
al@13848 | 19 { |
al@13848 | 20 mkdir -p $src && cd $src |
pascal@15148 | 21 for font in $EXTRA_SOURCE_FILES; do |
pascal@15148 | 22 [ -s $SOURCES_REPOSITORY/${font} ] || |
pascal@15148 | 23 wget -O $SOURCES_REPOSITORY/${font} \ |
pascal@15148 | 24 http://www.greekfontsociety.gr/${font} |
pascal@15148 | 25 cp $SOURCES_REPOSITORY/${font} . |
pascal@15148 | 26 unzip -o ${font} |
al@13848 | 27 done |
al@13848 | 28 FONTDIR=$fs/usr/share/fonts/OTF/GFS |
al@13848 | 29 mkdir -p $FONTDIR |
al@13848 | 30 install -Dm644 $src/GFS*/*otf $FONTDIR |
al@13848 | 31 } |