[arch-commits] Commit in beets/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Apr 10 09:31:18 UTC 2015


    Date: Friday, April 10, 2015 @ 11:31:17
  Author: alucryd
Revision: 131091

FS#44522: beets 1.3.11-2

Modified:
  beets/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-10 08:14:50 UTC (rev 131090)
+++ PKGBUILD	2015-04-10 09:31:17 UTC (rev 131091)
@@ -4,7 +4,7 @@
 
 pkgname=beets
 pkgver=1.3.11
-pkgrel=1
+pkgrel=2
 pkgdesc='Flexible music library manager and tagger'
 arch=('any')
 url='http://beets.radbox.org/'
@@ -27,8 +27,10 @@
             'python2-pyacoustid: Chromaprint/Acoustid plugin'
             'python2-pylast: LastGenre plugin'
             'python2-requests: FetchArt plugin')
-source=("https://github.com/sampsyo/beets/releases/download/v${pkgver}/beets-${pkgver}.tar.gz")
-sha256sums=('4a926b4c82409382b993b14cac7ecdbd18dea84845030ad41e26198542871408')
+source=("https://github.com/sampsyo/beets/releases/download/v${pkgver}/beets-${pkgver}.tar.gz"
+        'https://raw.githubusercontent.com/sampsyo/beets/master/extra/_beet')
+sha256sums=('4a926b4c82409382b993b14cac7ecdbd18dea84845030ad41e26198542871408'
+            '51c23b07ae5b4d67bd3d9f1c6ec3187a04b18d805e0b198951c6b63c67d34715')
 
 build() {
   cd beets-${pkgver}
@@ -41,6 +43,10 @@
 
   python2 setup.py install --root="${pkgdir}" --optimize='1'
 
+  install -dm 755 "${pkgdir}"/{etc/bash_completion.d,usr/share/zsh/site-functions}
+  echo 'eval "$(beet completion)"' > "${pkgdir}"/etc/bash_completion.d/beet
+  install -m 644 ../_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/



More information about the arch-commits mailing list