wok-current annotate flag-icons/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (36 hours ago)
parents b01314c762e9
children
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
shann@25728 15 HOST_ARCH="i486 x86_64"
shann@25728 16
pascal@24759 17 # What is the latest version available today?
pascal@24759 18 current_version()
pascal@24759 19 {
pascal@24759 20 wget -O - https://github.com/gosquared/flags/commits/master 2>/dev/null | \
pascal@24759 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24759 22 }
pascal@24759 23
al@16475 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16475 25 genpkg_rules()
al@16475 26 {
al@16475 27 for SIZE in 16 24 32 48 64; do
al@16475 28 fusih=$fs/usr/share/icons/hicolor/${SIZE}x$SIZE
al@16475 29 mkdir -p $fusih
al@16475 30 cp -a $src/flags-iso/shiny/$SIZE $fusih/intl
al@16475 31 done
al@16475 32
al@16475 33 mkdir -p $fs/usr/share/licenses
al@16475 34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/gosquared.txt
al@16475 35 }