SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "clearlooks"

# SliTaz package receipt.

PACKAGE="clearlooks"
VERSION="0.6.2"
CATEGORY="x-window"
SHORT_DESC="Clearlooks GTK+ theme."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://clearlooks.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config file gtk+-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/clearlooks/files/clearlooks/ 2>/dev/null | \
    sed '/scope="row/!d;/clearlooks%/!d;s|.*href="|https://sourceforge.net|;s|/".*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/clearlooks-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
    rm -rf $fs/usr/share/icons
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)