wok annotate picard/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (10 months ago)
parents 5ea0ce1cecc0
children
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@25601 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
al@19481 24 # Rules to configure and make the package.
al@19481 25 compile_rules()
al@19481 26 {
Hans-G?nter@23833 27 python3 setup.py install --root="$install"
al@19481 28 }
al@19481 29
al@19481 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19481 31 genpkg_rules()
al@19481 32 {
Hans-G?nter@23833 33 cp -a $install/* $fs
al@19481 34 }