desktop/picard/PKGBUILD
2017-03-12 14:05:28 +01:00

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=3
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=('0df8899ba834b2c9ac59165122256257')
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/"
}