wok-6.x annotate flag-icons/receipt @ rev 19721
Up vice (3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 12:40:44 2017 +0100 (2017-02-16) |
parents | 03d30ab1efc8 |
children | b01314c762e9 |
rev | line source |
---|---|
al@16475 | 1 # SliTaz package receipt. |
al@16475 | 2 |
al@16475 | 3 PACKAGE="flag-icons" |
al@16475 | 4 VERSION="2.6" |
al@16475 | 5 CATEGORY="misc" |
al@16475 | 6 SHORT_DESC="2600 Flag Icon Set from GoSquared" |
al@16475 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16475 | 8 LICENSE="MIT" |
al@16475 | 9 WEB_SITE="https://www.gosquared.com/resources/flag-icons" |
pascal@16487 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@16487 | 11 WGET_URL="https://downloads.gosquared.com/pixels/flags.zip" |
al@16475 | 12 |
al@16475 | 13 BUILD_DEPENDS="wget" |
al@16475 | 14 |
al@16475 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16475 | 16 genpkg_rules() |
al@16475 | 17 { |
al@16475 | 18 for SIZE in 16 24 32 48 64; do |
al@16475 | 19 fusih=$fs/usr/share/icons/hicolor/${SIZE}x$SIZE |
al@16475 | 20 mkdir -p $fusih |
al@16475 | 21 cp -a $src/flags-iso/shiny/$SIZE $fusih/intl |
al@16475 | 22 done |
al@16475 | 23 |
al@16475 | 24 mkdir -p $fs/usr/share/licenses |
al@16475 | 25 cp -a $src/LICENSE.txt $fs/usr/share/licenses/gosquared.txt |
al@16475 | 26 } |