add zsh completion

This commit is contained in:
vincent 2021-01-12 19:01:37 +01:00
parent 57f7cc5373
commit 4e82fdf935
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgbase = beets-git pkgbase = beets-git
pkgdesc = Flexible music library manager and tagger - git version pkgdesc = Flexible music library manager and tagger - git version
pkgver = 1.4.9.r42.g81b1faa05 pkgver = 1.4.9.r1031.gcbc045f1
pkgrel = 1 pkgrel = 1
url = http://beets.io/ url = http://beets.io/
arch = any arch = any
@ -44,7 +44,7 @@ pkgbase = beets-git
optdepends = aacgain: replaygain plugin optdepends = aacgain: replaygain plugin
optdepends = audiotools: replaygain plugin optdepends = audiotools: replaygain plugin
optdepends = go-ipfs: ipfs plugin optdepends = go-ipfs: ipfs plugin
provides = beets provides = beets=1.4.9.r1031.gcbc045f1
conflicts = beets conflicts = beets
source = git+https://github.com/beetbox/beets.git source = git+https://github.com/beetbox/beets.git
md5sums = SKIP md5sums = SKIP

View File

@ -2,7 +2,7 @@
# Contributor: Johannes Löthberg <demizide@gmail.com> # Contributor: Johannes Löthberg <demizide@gmail.com>
pkgname=beets-git pkgname=beets-git
pkgver=1.4.9.r42.g81b1faa05 pkgver=1.4.9.r1031.gcbc045f1
pkgrel=1 pkgrel=1
pkgdesc="Flexible music library manager and tagger - git version" pkgdesc="Flexible music library manager and tagger - git version"
arch=('any') arch=('any')
@ -59,6 +59,7 @@ build() {
package() { package() {
cd ${srcdir}/beets cd ${srcdir}/beets
python setup.py install --root=${pkgdir} --optimize=1 --skip-build python setup.py install --root=${pkgdir} --optimize=1 --skip-build
install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }