SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "smplayer-themes"

# SliTaz package receipt.

PACKAGE="smplayer-themes"
VERSION="20.11.0"
CATEGORY="multimedia"
SHORT_DESC="Icon themes for smplayer."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://www.smplayer.info/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/${PACKAGE/-themes/}/$TARBALL"

DEPENDS="smplayer"
BUILD_DEPENDS="qmake Qt4-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    make PREFIX=/usr &&
    make install PREFIX=/usr DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mv $install/*    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)