wok annotate picard/receipt @ rev 25054
Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 08:51:13 2022 +0000 (2022-06-06) |
parents | 28e9861b5cd7 |
children | 0262035dc1e7 |
rev | line source |
---|---|
al@19481 | 1 # SliTaz package receipt. |
al@19481 | 2 |
al@19481 | 3 PACKAGE="picard" |
Hans-G?nter@23833 | 4 VERSION="2.3.1" |
al@19481 | 5 CATEGORY="utilities" |
Hans-G?nter@23833 | 6 SHORT_DESC="A cross-platform music tagger written in Python." |
al@19481 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19481 | 8 LICENSE="GPL2" |
al@19481 | 9 WEB_SITE="https://picard.musicbrainz.org/" |
al@19481 | 10 |
Hans-G?nter@23833 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23833 | 12 WGET_URL="https://github.com/metabrainz/$PACKAGE/archive/release-$VERSION.tar.gz" |
Hans-G?nter@23833 | 13 |
Hans-G?nter@23833 | 14 DEPENDS="mutagen py3k PyQt-x11-gpl" |
Hans-G?nter@23833 | 15 BUILD_DEPENDS="gettext mutagen py3k-dev PyQt-x11-gpl " |
al@19481 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@19481 | 23 # Rules to configure and make the package. |
al@19481 | 24 compile_rules() |
al@19481 | 25 { |
Hans-G?nter@23833 | 26 python3 setup.py install --root="$install" |
al@19481 | 27 } |
al@19481 | 28 |
al@19481 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19481 | 30 genpkg_rules() |
al@19481 | 31 { |
Hans-G?nter@23833 | 32 cp -a $install/* $fs |
al@19481 | 33 } |