wok-6.x view flag-icons/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 7798b28d62aa
children
line source
1 # SliTaz package receipt.
3 PACKAGE="flag-icons"
4 VERSION="2.6"
5 CATEGORY="misc"
6 SHORT_DESC="2600 Flag Icon Set from GoSquared"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.gosquared.com/resources/flag-icons"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="https://downloads.gosquared.com/pixels/flags.zip"
13 BUILD_DEPENDS="wget"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/gosquared/flags/commits/master 2>/dev/null | \
19 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 for SIZE in 16 24 32 48 64; do
26 fusih=$fs/usr/share/icons/hicolor/${SIZE}x$SIZE
27 mkdir -p $fusih
28 cp -a $src/flags-iso/shiny/$SIZE $fusih/intl
29 done
31 mkdir -p $fs/usr/share/licenses
32 cp -a $src/LICENSE.txt $fs/usr/share/licenses/gosquared.txt
33 }