summaryrefslogtreecommitdiff
path: root/community-testing/picard
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-06 23:15:07 +0000
committerroot <root@rshg054.dnsready.net>2011-11-06 23:15:07 +0000
commita4d309341dbcd3c28ee68e818c1d5ef54114adf8 (patch)
treed8b088a03f5cb2b56b2b7508933b4efcfd67f0b2 /community-testing/picard
parent82fd7f658509afe9737e14e8d1ee9fefe13c9d1f (diff)
Sun Nov 6 23:15:07 UTC 2011
Diffstat (limited to 'community-testing/picard')
-rw-r--r--community-testing/picard/PKGBUILD28
-rw-r--r--community-testing/picard/install12
2 files changed, 40 insertions, 0 deletions
diff --git a/community-testing/picard/PKGBUILD b/community-testing/picard/PKGBUILD
new file mode 100644
index 000000000..a739d9c2e
--- /dev/null
+++ b/community-testing/picard/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 58014 2011-11-05 11:40:31Z ibiru $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: sysrq
+
+pkgname=picard
+pkgver=0.16
+pkgrel=2
+pkgdesc='Official MusicBrainz tagger'
+url='http://musicbrainz.org/doc/MusicBrainz_Picard'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('python2-qt' 'mutagen' 'libofa' 'ffmpeg')
+optdepends=('libdiscid: CD-Lookup feature')
+source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('274071410550ee29051bb0137d72602921a015f9')
+
+install=install
+
+build() {
+ cd "${srcdir}/picard-${pkgver}"
+ python2 setup.py config
+}
+
+package() {
+ cd "${srcdir}/picard-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
+}
diff --git a/community-testing/picard/install b/community-testing/picard/install
new file mode 100644
index 000000000..b46fab005
--- /dev/null
+++ b/community-testing/picard/install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+ update-desktop-database -q &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}