wok-6.x view qarte/receipt @ rev 24565
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 25 22:15:31 2022 +0000 (2022-02-25) |
parents | 3081fbfaab46 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qarte"
4 VERSION="1.9.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="ARTE public programms manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://launchpad.net/qarte"
11 WGET_URL="http://oqapy.eu/releases/$TARBALL"
13 DEPENDS="python PyQt-x11-gpl notify-python rtmpdump"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://oqapy.eu/download?lang=fr 2>/dev/null | \
20 sed '/qarte-/!d;s|.*qarte-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 prefix=${install}/usr
27 install -D -m 0755 qarte $prefix/bin/qarte
28 install -D -m 0644 q_arte.desktop $prefix/share/applications/qarte.desktop
29 install -D -m 0644 qarte.png $prefix/share/pixmaps/qarte.png
30 mkdir $prefix/share/qarte
31 install -m 0644 *.py $prefix/share/qarte
32 for dir in commonwidgets crontab locale medias VWidgets
33 do
34 cp -r $dir $prefix/share/qarte
35 done
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/* $fs
43 }