wok view picard/receipt @ rev 24175
Up usbids (20211224)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 30 11:41:25 2021 +0000 (2021-12-30) |
parents | 28e9861b5cd7 |
children | 0262035dc1e7 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python3 setup.py install --root="$install"
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }