summaryrefslogtreecommitdiff
path: root/community/picard
diff options
context:
space:
mode:
Diffstat (limited to 'community/picard')
-rw-r--r--community/picard/PKGBUILD22
-rw-r--r--community/picard/picard.install11
2 files changed, 33 insertions, 0 deletions
diff --git a/community/picard/PKGBUILD b/community/picard/PKGBUILD
new file mode 100644
index 000000000..d63ac162d
--- /dev/null
+++ b/community/picard/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 42161 2011-03-14 16:27:36Z mherych $
+# Maintainer Mateusz Herych <heniekk@gmail.com>
+# Contributor sysrq
+
+pkgname=picard
+pkgver=0.13
+pkgrel=1
+pkgdesc="Next generation MusicBrainz tagging application (QT4 interface)"
+arch=('i686' 'x86_64')
+url="http://musicbrainz.org/doc/PicardQt"
+license=('GPL')
+depends=('python2-qt' 'mutagen' 'libofa' 'ffmpeg')
+optdepends=('libdiscid: CD-Lookup feature')
+install=picard.install
+source=(http://ftp.musicbrainz.org/pub/musicbrainz/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('bc8dc9109de218b544204669119d10c5')
+
+build() {
+ cd $srcdir/picard-$pkgver
+ python2 setup.py config
+ python2 setup.py install --root=$pkgdir
+}
diff --git a/community/picard/picard.install b/community/picard/picard.install
new file mode 100644
index 000000000..c0797237a
--- /dev/null
+++ b/community/picard/picard.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}