wok-current annotate smplayer-themes/receipt @ rev 25314
updated smplayer-themes (18.6.0 -> 20.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:47:52 2022 +0100 (2022-07-20) |
parents | e919c5a2742d |
children | 5926178cd6fa |
rev | line source |
---|---|
psychomaniak@19552 | 1 # SliTaz package receipt. |
psychomaniak@19552 | 2 |
psychomaniak@19552 | 3 PACKAGE="smplayer-themes" |
Hans-G?nter@25314 | 4 VERSION="20.11.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@25314 | 9 WEB_SITE="https://www.smplayer.info/" |
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" |
Hans-G?nter@25314 | 15 BUILD_DEPENDS="qmake Qt4-dev" |
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 && |
Hans-G?nter@25314 | 29 make install PREFIX=/usr DESTDIR=$DESTDIR |
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 { |
Hans-G?nter@25314 | 35 mv $install/* $fs |
psychomaniak@19552 | 36 } |