SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtk-engine-nodoka"

# SliTaz package receipt.

PACKAGE="gtk-engine-nodoka"
VERSION="0.7.5"
SOURCE="gtk-nodoka-engine"
CATEGORY="customization"
SHORT_DESC="Light and modern GTK theme engine."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://pagure.io/nodoka-theme/"
WGET_URL="https://pagure.io/nodoka-theme/archive/gtk-engine-$VERSION/nodoka-theme-gtk-engine-$VERSION.tar.gz"

DEPENDS="gtk+"
BUILD_DEPENDS="gtk+-dev wget"

# What is the latest version available today?
current_version()
{
    wget -O - https://pagure.io/nodoka-theme/releases 2>/dev/null | \
    sed '/tar.gz/!d;s|.*engine-||;s|.tar.*||;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()
{
    mkdir -p $fs/usr/lib/gtk-2.0/2.10.0/engines
    cp $install/usr/lib/gtk-2.0/2.10.0/engines/*.so \
        $fs/usr/lib/gtk-2.0/2.10.0/engines
    cp -a $install/usr/share $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)