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