[arch-commits] Commit in beets/repos (2 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Mon Aug 19 00:35:04 UTC 2013


    Date: Monday, August 19, 2013 @ 02:35:04
  Author: alucryd
Revision: 95938

archrelease: copy trunk to community-testing-any

Added:
  beets/repos/community-testing-any/
  beets/repos/community-testing-any/PKGBUILD
    (from rev 95937, beets/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: beets/repos/community-testing-any/PKGBUILD (from rev 95937, beets/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2013-08-19 00:35:04 UTC (rev 95938)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=beets
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Flexible music library manager and tagger"
+arch=('any')
+url="http://beets.radbox.org/"
+license=('MIT')
+depends=('mutagen' 'python2-munkres' 'python2-musicbrainzngs' 'python2-unidecode' 'python2-yaml')
+makedepends=('python2-setuptools')
+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