diff options
Diffstat (limited to 'community-testing/picard')
-rw-r--r-- | community-testing/picard/PKGBUILD | 28 | ||||
-rw-r--r-- | community-testing/picard/install | 12 |
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 +} |