wok-next diff flag-icons/receipt @ rev 20146

Up qemu-light (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:50:08 2017 +0100 (2017-11-01)
parents 7798b28d62aa
children 7d96b53ab037
line diff
     1.1 --- a/flag-icons/receipt	Wed Apr 23 07:16:34 2014 +0000
     1.2 +++ b/flag-icons/receipt	Wed Nov 01 11:50:08 2017 +0100
     1.3 @@ -2,25 +2,31 @@
     1.4  
     1.5  PACKAGE="flag-icons"
     1.6  VERSION="2.6"
     1.7 +COMMIT="a81d159"
     1.8  CATEGORY="misc"
     1.9  SHORT_DESC="2600 Flag Icon Set from GoSquared"
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="MIT"
    1.12 -WEB_SITE="https://www.gosquared.com/resources/flag-icons"
    1.13 -TARBALL="$PACKAGE-$VERSION.zip"
    1.14 -WGET_URL="https://downloads.gosquared.com/pixels/flags.zip"
    1.15 +WEB_SITE="https://www.gosquared.com/resources/flag-icons/"
    1.16  
    1.17 -BUILD_DEPENDS="wget"
    1.18 +TARBALL="$PACKAGE-$COMMIT.tar.gz"
    1.19 +WGET_URL="https://github.com/gosquared/flags/archive/$COMMIT.tar.gz"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	for SIZE in 16 24 32 48 64; do
    1.25 +		fusih=$install/usr/share/icons/hicolor/${SIZE}x$SIZE
    1.26 +		mkdir -p $fusih
    1.27 +		cp -a $src/flags/flags-iso/shiny/$SIZE $fusih/intl
    1.28 +	done
    1.29 +
    1.30 +	mkdir -p $install/usr/share/licenses
    1.31 +	cp -a $src/LICENSE.txt $install/usr/share/licenses/gosquared.txt
    1.32 +}
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	for SIZE in 16 24 32 48 64; do
    1.38 -		fusih=$fs/usr/share/icons/hicolor/${SIZE}x$SIZE
    1.39 -		mkdir -p $fusih
    1.40 -		cp -a $src/flags-iso/shiny/$SIZE $fusih/intl
    1.41 -	done
    1.42 -
    1.43 -	mkdir -p $fs/usr/share/licenses
    1.44 -	cp -a $src/LICENSE.txt $fs/usr/share/licenses/gosquared.txt
    1.45 +	cp -a $install/* $fs
    1.46  }