diff options
author | root <root@rshg054.dnsready.net> | 2011-11-01 23:15:01 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-01 23:15:01 +0000 |
commit | 37a1064b8105764414f279ced442e6ba2f63bea1 (patch) | |
tree | 173b87cd6535e622eff464080b398e0330df72bc /community-staging/picard | |
parent | 560562e36a27da267f2f4f7989806790192888ef (diff) |
Tue Nov 1 23:15:01 UTC 2011
Diffstat (limited to 'community-staging/picard')
-rw-r--r-- | community-staging/picard/PKGBUILD | 28 | ||||
-rw-r--r-- | community-staging/picard/install | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/community-staging/picard/PKGBUILD b/community-staging/picard/PKGBUILD new file mode 100644 index 000000000..c28b54004 --- /dev/null +++ b/community-staging/picard/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 57653 2011-10-31 21:30:02Z bisson $ +# 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-staging/picard/install b/community-staging/picard/install new file mode 100644 index 000000000..b46fab005 --- /dev/null +++ b/community-staging/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 +} |