mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
27 lines
815 B
Bash
27 lines
815 B
Bash
pkgname=picard
|
||
pkgver=2.0.1
|
||
pkgrel=1
|
||
pkgdesc="MusicBrainz tagging application"
|
||
arch=('x86_64')
|
||
url="https://picard.musicbrainz.org/"
|
||
license=('GPL')
|
||
depends=('python3-pyqt5' 'python3-mutagen')
|
||
optdepends=('python3-discid: CD-Lookup feature'
|
||
'chromaprint: fingerprinting')
|
||
makedepends=('python3-discid' 'python3-setuptools')
|
||
source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
||
replaces=('picard-plugins')
|
||
sha256sums=('28498c34700d6140e6ac05199cc32fef6e46b77fd2ec31f151dd9213fa01ea24')
|
||
|
||
build() {
|
||
cd "${srcdir}/picard-release-${pkgver}"
|
||
sed "s/‘/'/g" -i setup.cfg
|
||
python3 setup.py config
|
||
}
|
||
|
||
package() {
|
||
cd "${srcdir}/picard-release-${pkgver}"
|
||
python3 setup.py install --root="${pkgdir}"
|
||
rm -fr "${pkgdir}"/usr/lib/python*/site-packages/picard-*.egg-info
|
||
}
|