wok-current view flag-icons/receipt @ rev 24759
pkg-config: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 08:01:47 2022 +0000 (2022-03-18) |
parents | 7798b28d62aa |
children | 5926178cd6fa |
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 }