[arch-commits] Commit in beets/repos/community-any (PKGBUILD beet)
Maxime Gauduin
alucryd at archlinux.org
Tue Jan 10 19:58:44 UTC 2017
Date: Tuesday, January 10, 2017 @ 19:58:44
Author: alucryd
Revision: 206657
archrelease: copy trunk to community-any
Added:
beets/repos/community-any/PKGBUILD
(from rev 206656, beets/trunk/PKGBUILD)
beets/repos/community-any/beet
(from rev 206656, beets/trunk/beet)
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
beet | 2 ++
2 files changed, 61 insertions(+)
Copied: beets/repos/community-any/PKGBUILD (from rev 206656, beets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-10 19:58:44 UTC (rev 206657)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=beets
+pkgver=1.4.3
+pkgrel=2
+pkgdesc='Flexible music library manager and tagger'
+arch=('any')
+url='http://beets.radbox.org/'
+license=('MIT')
+depends=('python-jellyfish' 'python-munkres' 'python-musicbrainzngs'
+ 'python-mutagen' 'python-setuptools' 'python-six' 'python-unidecode'
+ 'python-yaml')
+optdepends=('bash-completion: Bash completion'
+ 'gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+ 'gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+ 'gst-plugins-ugly: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+ 'gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+ 'gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins'
+ 'imagemagick: Thumbnails plugin'
+ 'python-beautifulsoup4: Lyrics plugin'
+ 'python-flask: Web plugin'
+ 'python-gobject: ReplayGain plugin'
+ 'python-mpd: MPDStats plugin'
+ 'python-pyacoustid: Chromaprint/Acoustid plugin'
+ 'python-pylast: LastGenre plugin'
+ 'python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins'
+ 'python-xdg: Thumbnails plugin')
+source=("https://github.com/sampsyo/beets/releases/download/v${pkgver}/beets-${pkgver}.tar.gz"
+ 'beet')
+sha256sums=('b93fbe11998a29cd432b0a88741b9ced0e5ac50e80362d41e13e867d851ae464'
+ 'b081285b202f82d09802ebca73d28bbf1902179ad3a820e4c0157f80bf959d89')
+
+build() {
+ cd beets-${pkgver}
+
+ python setup.py build
+}
+
+package() {
+ cd beets-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize='1'
+
+ install -dm 755 "${pkgdir}"/usr/share/bash-completion/completions/
+ install -m 644 ../beet "${pkgdir}"/usr/share/bash-completion/completions/
+ install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
+ install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
+
+ install -dm 755 "${pkgdir}"/usr/share/man/man{1,5}
+ install -m 644 man/beet.1 "${pkgdir}"/usr/share/man/man1/
+ install -m 644 man/beetsconfig.5 "${pkgdir}"/usr/share/man/man5/
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses/beets
+ install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/beets/
+}
+
+# vim: ts=2 sw=2 et:
Copied: beets/repos/community-any/beet (from rev 206656, beets/trunk/beet)
===================================================================
--- beet (rev 0)
+++ beet 2017-01-10 19:58:44 UTC (rev 206657)
@@ -0,0 +1,2 @@
+_load_beet_completion() { eval "$(beet completion)"; }
+complete -F _load_beet_completion beet
More information about the arch-commits
mailing list