wok view gpodder/receipt @ rev 24083

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:40:16 2021 +0000 (2021-07-10)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gpodder"
4 VERSION="3.10.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="A simple and usable podcast consumption."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://gpodder.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="dbus-python feedparser py3k pygtk python-mygpoclient"
15 BUILD_DEPENDS="feedparser intltool py3k-dev python-mygpoclient"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/gpodder $fs/usr/share
37 cp -a $install/usr/share/dbus-1 $fs/usr/share
38 }