desktop/picard/PKGBUILD

29 lines
862 B
Bash
Raw Normal View History

# Maintainer: Christian Menard <ReaperMan333@gmx.net>
# Contributor: Ernesto Manríquez <alejandronova@gmail.com>
pkgname=picard
2015-01-13 08:36:11 +08:00
pkgver=1.3.2
2017-03-12 21:05:28 +08:00
pkgrel=3
pkgdesc="MusicBrainz tagging application"
arch=('x86_64')
url="http://musicbrainz.org"
license=('GPL')
depends=('python2' 'python2-pyqt4' 'mutagen' 'libofa' 'ffmpeg' )
2015-01-13 08:36:11 +08:00
optdepends=('libdiscid: CD-Lookup feature'
'chromaprint: fingerprinting')
source=("http://ftp.musicbrainz.org/pub/musicbrainz/$pkgname/$pkgname-$pkgver.tar.gz")
2015-01-14 07:06:00 +08:00
replaces=('picard-plugins')
2017-03-12 21:05:28 +08:00
md5sums=('0df8899ba834b2c9ac59165122256257')
build() {
2015-01-13 08:36:11 +08:00
cd "$srcdir/$pkgname-release-$pkgver"
python2 setup.py config
python2 setup.py build
}
package() {
2015-01-13 08:36:11 +08:00
cd "$srcdir/$pkgname-release-$pkgver"
python2 setup.py install --root=$pkgdir
2015-01-13 08:36:11 +08:00
cp -r contrib/plugins/* "${pkgdir}/usr/lib/python2.7/site-packages/picard/plugins/"
}