SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hicolor-icon-theme"

# SliTaz package receipt.

PACKAGE="hicolor-icon-theme"
VERSION="0.17"
CATEGORY="misc"
SHORT_DESC="Icon theme that all icon themes automatically inherit from."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.freedesktop.org/wiki/Software/icon-theme/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://icon-theme.freedesktop.org/releases/$TARBALL"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/icons/hicolor

    cp    $install/usr/share/icons/hicolor/index.theme    \
        $fs/usr/share/icons/hicolor
    cp -a    $install/usr/share/icons/hicolor/24x24        \
        $fs/usr/share/icons/hicolor

    sed -i 5i\ 'Inherits=SliTaz' $fs/usr/share/icons/hicolor/index.theme
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)