summaryrefslogtreecommitdiff
path: root/community/picard
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
committerroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
commit715631caf52784c47c8ed3aeb6cbdba2715a08db (patch)
treed1923d66cba8dcf90112f81ca31009202cff25a3 /community/picard
parent8999fa1750304fb2367fb7743e49e013405e88be (diff)
Sun Jun 26 23:06:14 UTC 2011
Diffstat (limited to 'community/picard')
-rw-r--r--community/picard/PKGBUILD31
-rw-r--r--community/picard/install12
2 files changed, 30 insertions, 13 deletions
diff --git a/community/picard/PKGBUILD b/community/picard/PKGBUILD
index d63ac162d..96ec12311 100644
--- a/community/picard/PKGBUILD
+++ b/community/picard/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 42161 2011-03-14 16:27:36Z mherych $
-# Maintainer Mateusz Herych <heniekk@gmail.com>
-# Contributor sysrq
+# $Id: PKGBUILD 50174 2011-06-25 20:20:09Z bisson $
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: sysrq
pkgname=picard
-pkgver=0.13
+pkgver=0.14
pkgrel=1
-pkgdesc="Next generation MusicBrainz tagging application (QT4 interface)"
-arch=('i686' 'x86_64')
-url="http://musicbrainz.org/doc/PicardQt"
+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')
-install=picard.install
-source=(http://ftp.musicbrainz.org/pub/musicbrainz/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('bc8dc9109de218b544204669119d10c5')
+source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('bbc6aee61e779153b77e381e8cd2ba08')
+
+install=install
build() {
- cd $srcdir/picard-$pkgver
- python2 setup.py config
- python2 setup.py install --root=$pkgdir
+ cd "${srcdir}/picard-${pkgver}"
+ python2 setup.py config
+}
+
+package() {
+ cd "${srcdir}/picard-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
}
diff --git a/community/picard/install b/community/picard/install
new file mode 100644
index 000000000..b46fab005
--- /dev/null
+++ b/community/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
+}