wok annotate puddletag/receipt @ rev 25037

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