wok annotate ecofont/receipt @ rev 20461
py3k: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 18:41:29 2018 +0200 (2018-10-10) |
parents | f13bd223c231 |
children | c3a6f662a1c1 |
rev | line source |
---|---|
pascal@3523 | 1 # SliTaz package receipt. |
pascal@3523 | 2 |
pascal@3523 | 3 PACKAGE="ecofont" |
mallory@4494 | 4 VERSION="2.0" |
al@19125 | 5 CATEGORY="fonts" |
pascal@3523 | 6 SHORT_DESC="20% ink saving font from SPRANQ." |
pascal@3523 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15611 | 8 LICENSE="other" |
pascal@3523 | 9 TARBALL="spranq_eco_sans_regular.zip" |
pascal@3523 | 10 WEB_SITE="http://www.ecofont.eu/ecofont_en.html" |
pascal@3523 | 11 WGET_URL="http://www.ecofont.eu/assets/files/$TARBALL" |
pascal@3523 | 12 |
pascal@15104 | 13 BUILD_DEPENDS="unzip" |
pascal@15104 | 14 |
pascal@3523 | 15 # Rules to configure and make the package. |
pascal@3523 | 16 compile_rules() |
pascal@3523 | 17 { |
pascal@15155 | 18 unzip $SOURCES_REPOSITORY/$TARBALL |
pascal@3523 | 19 } |
pascal@3523 | 20 |
pascal@3523 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3523 | 22 genpkg_rules() |
pascal@3523 | 23 { |
pascal@3523 | 24 mkdir -p $fs/usr/share/fonts/truetype/ecofont |
pascal@3523 | 25 cp -a $src/* $fs/usr/share/fonts/truetype/ecofont |
pascal@3523 | 26 } |