diff options
author | root <root@rshg054.dnsready.net> | 2012-06-05 00:01:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-05 00:01:46 +0000 |
commit | 67db4cf68dbdb364c4dee1599294d7701f3c3b0a (patch) | |
tree | ab6491b591fe7f704b48188ecffe80771edf822e /community-staging/picard | |
parent | 1e6588d64f084decf287a58b7ff93ff0ce4d0446 (diff) |
Tue Jun 5 00:01:46 UTC 2012
Diffstat (limited to 'community-staging/picard')
-rw-r--r-- | community-staging/picard/PKGBUILD | 29 | ||||
-rw-r--r-- | community-staging/picard/install | 12 |
2 files changed, 41 insertions, 0 deletions
diff --git a/community-staging/picard/PKGBUILD b/community-staging/picard/PKGBUILD new file mode 100644 index 000000000..3e7ceb0ac --- /dev/null +++ b/community-staging/picard/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 71926 2012-06-03 18:18:47Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Maintainer: Mateusz Herych <heniekk@gmail.com> +# Contributor: sysrq + +pkgname=picard +pkgver=1.0 +pkgrel=2 +pkgdesc='Official MusicBrainz tagger' +url='http://musicbrainz.org/doc/MusicBrainz_Picard' +license=('GPL') +arch=('i686' 'x86_64') +depends=('python2-pyqt' 'mutagen' 'libofa' 'ffmpeg') +optdepends=('libdiscid: CD lookup' + 'chromaprint: fingerprinting') +source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('abbd606a89b60ed8c948705d47ce1ae1a90f866a') + +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 +} |