wok view picard/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="picard"
4 VERSION="2.3.1"
5 CATEGORY="utilities"
6 SHORT_DESC="A cross-platform music tagger written in Python."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://picard.musicbrainz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/metabrainz/$PACKAGE/archive/release-$VERSION.tar.gz"
14 DEPENDS="mutagen py3k PyQt-x11-gpl"
15 BUILD_DEPENDS="gettext mutagen py3k-dev PyQt-x11-gpl "
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python3 setup.py install --root="$install"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }