wok annotate smplayer-themes/receipt @ rev 25031

Add fatcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 09:25:51 2022 +0000 (2022-05-20)
parents ac11c8298234
children adaf06c5172f
rev   line source
psychomaniak@19552 1 # SliTaz package receipt.
psychomaniak@19552 2
psychomaniak@19552 3 PACKAGE="smplayer-themes"
Hans-G?nter@21925 4 VERSION="18.6.0"
psychomaniak@19552 5 CATEGORY="multimedia"
Hans-G?nter@21925 6 SHORT_DESC="Icon themes for smplayer."
psychomaniak@19552 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19552 8 LICENSE="GPL2"
Hans-G?nter@21925 9 WEB_SITE="https://sourceforge.net/projects/smplayer/"
Hans-G?nter@21925 10
psychomaniak@19552 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@19552 12 WGET_URL="$SF_MIRROR/${PACKAGE/-themes/}/$TARBALL"
psychomaniak@19552 13
psychomaniak@19552 14 DEPENDS="smplayer"
psychomaniak@19552 15 BUILD_DEPENDS="Qt4-dev qmake"
psychomaniak@19552 16
pascal@24348 17 # What is the latest version available today?
pascal@24348 18 current_version()
pascal@24348 19 {
pascal@24348 20 wget -O - https://sourceforge.net/projects/smplayer/files/SMPlayer/ 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*/SMPlayer/||;s|/.*||;q'
pascal@24348 23 }
pascal@24348 24
psychomaniak@19552 25 # Rules to configure and make the package.
psychomaniak@19552 26 compile_rules()
psychomaniak@19552 27 {
psychomaniak@19552 28 make PREFIX=/usr &&
psychomaniak@19552 29 make PREFIX=/usr DESTDIR=$DESTDIR install
psychomaniak@19552 30 }
psychomaniak@19552 31
psychomaniak@19552 32 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19552 33 genpkg_rules()
psychomaniak@19552 34 {
psychomaniak@19552 35 mv $install/* $fs
psychomaniak@19552 36 }