wok-current view flag-icons/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (4 weeks ago)
parents b01314c762e9
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 HOST_ARCH="i486 x86_64"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/gosquared/flags/commits/master 2>/dev/null | \
21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 for SIZE in 16 24 32 48 64; do
28 fusih=$fs/usr/share/icons/hicolor/${SIZE}x$SIZE
29 mkdir -p $fusih
30 cp -a $src/flags-iso/shiny/$SIZE $fusih/intl
31 done
33 mkdir -p $fs/usr/share/licenses
34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/gosquared.txt
35 }