mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
29 lines
862 B
Bash
29 lines
862 B
Bash
# Maintainer: Christian Menard <ReaperMan333@gmx.net>
|
|
# Contributor: Ernesto Manríquez <alejandronova@gmail.com>
|
|
|
|
pkgname=picard
|
|
pkgver=1.3.2
|
|
pkgrel=2
|
|
pkgdesc="MusicBrainz tagging application"
|
|
arch=('x86_64')
|
|
url="http://musicbrainz.org"
|
|
license=('GPL')
|
|
depends=('python2' 'python2-pyqt4' 'mutagen' 'libofa' 'ffmpeg' )
|
|
optdepends=('libdiscid: CD-Lookup feature'
|
|
'chromaprint: fingerprinting')
|
|
source=("http://ftp.musicbrainz.org/pub/musicbrainz/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
replaces=('picard-plugins')
|
|
md5sums=('5038eea573dffd5c6587a226691e1714')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-release-$pkgver"
|
|
python2 setup.py config
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-release-$pkgver"
|
|
python2 setup.py install --root=$pkgdir
|
|
cp -r contrib/plugins/* "${pkgdir}/usr/lib/python2.7/site-packages/picard/plugins/"
|
|
}
|