SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "slim-theme-montanhoso"

# SliTaz package receipt.

PACKAGE="slim-theme-montanhoso"
VERSION="20150526"
CATEGORY="customization"
SHORT_DESC="Montanhoso - theme for SLiM"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="PublicDomain"
WEB_SITE="https://github.com/SliTaz-official/hackdorte-artwork/tree/master/slim/themes"
TAGS="hackdorte slim"
COOKOPTS="!pngquant"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"

DEPENDS="slim"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \
    sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    theme=$install/usr/share/slim/themes/Montanhoso
    mkdir -p $theme
    cp -a $src/* $theme
    chown -R root:root $install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}

post_install()
{
    chroot "$1/" slim-theme -s Montanhoso
}

pre_remove()
{
    chroot "$1/" slim-theme -f Montanhoso
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)