[arch-commits] Commit in beets (3 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Mon Jul 29 21:14:50 UTC 2013
Date: Monday, July 29, 2013 @ 23:14:50
Author: alucryd
Revision: 94744
archrelease: copy trunk to community-any
Added:
beets/repos/
beets/repos/community-any/
beets/repos/community-any/PKGBUILD
(from rev 94743, beets/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: beets/repos/community-any/PKGBUILD (from rev 94743, beets/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2013-07-29 21:14:50 UTC (rev 94744)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=beets
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="Flexible music library manager and tagger"
+arch=('any')
+url="http://beets.radbox.org/"
+license=('MIT')
+depends=('mutagen' 'python2-distribute' 'python2-munkres' 'python2-musicbrainzngs' 'python2-unidecode' 'python2-yaml')
+optdepends=('gstreamer0.10-python: BPD audio player plugin'
+ 'python2-flask: Web interface'
+ 'python2-pyacoustid: Acoustic fingerprinting'
+ 'python2-pylast: Lastgenre plugin')
+source=("http://pypi.python.org/packages/source/b/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7424708a7ebd0884141537970b31cd41a09c5b799d9ce5d00d3704ce8aa520b6')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+
+# Manpages
+ install -dm 755 "${pkgdir}"/usr/share/man/man{1,5}
+ install -m 644 man/beet.1 "${pkgdir}"/usr/share/man/man1/beet.1
+ install -m 644 man/beetsconfig.5 "${pkgdir}"/usr/share/man/man5/beetsconfig.5
+ gzip -9 "${pkgdir}"/usr/share/man/man{1/beet.1,5/beetsconfig.5}
+
+# License
+ install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}LICENSE
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list