summaryrefslogtreecommitdiff
path: root/community/picard/PKGBUILD
blob: 2646dbf7f17e30d64159cc4626a4bffd00efeec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 70039 2012-04-28 15:51:53Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: sysrq

pkgname=picard
pkgver=0.16
pkgrel=5
pkgdesc='Official MusicBrainz tagger'
url='http://musicbrainz.org/doc/MusicBrainz_Picard'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('python2-pyqt' 'mutagen' 'libofa' 'ffmpeg')
optdepends=('libdiscid: CD lookup'
            'chromaprint: fingerprinting')
source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz"
        'typeheader.patch')
sha1sums=('274071410550ee29051bb0137d72602921a015f9'
          '0bd871632c28ef656af7ae89a8e752120f2cd7bd')

install=install

build() {
	cd "${srcdir}/picard-${pkgver}"
	patch -p1 -i ../typeheader.patch
	python2 setup.py config
}

package() {
	cd "${srcdir}/picard-${pkgver}"
	python2 setup.py install --root="${pkgdir}"
}