wok-6.x view puddletag/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | f98cd9ce8bd8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="puddletag"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 TAGS="tagging ogg mp3 apev2 mp4 id3"
7 SHORT_DESC="A simple, powerful audio tag editor."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://docs.puddletag.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/keithgg/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="mutagen python-configobj python-pyparsing PyQt-x11-gpl"
16 BUILD_DEPENDS="python"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }