wok-current view hicolor-icon-theme/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
parents | abb2032e8aeb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hicolor-icon-theme"
4 VERSION="0.17"
5 CATEGORY="misc"
6 SHORT_DESC="Icon theme that all icon themes automatically inherit from."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/icon-theme/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://icon-theme.freedesktop.org/releases/$TARBALL"
14 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/icons/hicolor
35 cp $install/usr/share/icons/hicolor/index.theme \
36 $fs/usr/share/icons/hicolor
37 cp -a $install/usr/share/icons/hicolor/24x24 \
38 $fs/usr/share/icons/hicolor
40 sed -i 5i\ 'Inherits=SliTaz' $fs/usr/share/icons/hicolor/index.theme
41 }