wok-next diff ecofont/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents d1570adae0ba
children d43bf7aae921
line diff
     1.1 --- a/ecofont/receipt	Mon May 09 21:28:29 2016 +0300
     1.2 +++ b/ecofont/receipt	Tue Mar 13 23:17:56 2018 +0200
     1.3 @@ -1,26 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ecofont"
     1.8  VERSION="2.0"
     1.9  CATEGORY="fonts"
    1.10 -SHORT_DESC="20% ink saving font from SPRANQ."
    1.11 +SHORT_DESC="20% ink saving font from SPRANQ"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="other"
    1.14 +WEB_SITE="http://www.ecofont.eu/ecofont_en.html"
    1.15 +
    1.16  TARBALL="spranq_eco_sans_regular.zip"
    1.17 -WEB_SITE="http://www.ecofont.eu/ecofont_en.html"
    1.18  WGET_URL="http://www.ecofont.eu/assets/files/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="unzip"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	unzip $SOURCES_REPOSITORY/$TARBALL
    1.27 +	mkdir -p      $install/usr/share/fonts/truetype/ecofont
    1.28 +	cp $src/*.ttf $install/usr/share/fonts/truetype/ecofont
    1.29  }
    1.30  
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 -	mkdir -p $fs/usr/share/fonts/truetype/ecofont
    1.35 -	cp -a $src/* $fs/usr/share/fonts/truetype/ecofont
    1.36 +genpkg_rules() {
    1.37 +	copy @std
    1.38  }