beets-git/PKGBUILD

66 lines
2.4 KiB
Bash
Raw Normal View History

2015-06-26 04:19:44 +00:00
# Maintainer: Adrian Sampson <adrian@radbox.org>
# Contributor: Johannes Löthberg <demizide@gmail.com>
pkgname=beets-git
2021-01-12 18:01:37 +00:00
pkgver=1.4.9.r1031.gcbc045f1
2015-06-26 04:19:44 +00:00
pkgrel=1
pkgdesc="Flexible music library manager and tagger - git version"
arch=('any')
2016-07-27 17:38:42 +00:00
url="http://beets.io/"
2015-06-26 04:19:44 +00:00
license=('MIT')
2019-06-01 19:19:42 +00:00
depends=('python-six' 'python-unidecode' 'python-musicbrainzngs'
'python-yaml' 'python-mediafile' 'python-confuse'
'python-munkres' 'python-jellyfish')
makedepends=('python-setuptools' 'git')
optdepends=('python-requests: absubmit, fetchart, embyupdate, kodiupdate, lyrics, plexupdate plugins'
'python-pillow: fetchart, embedart, thumbnails plugins'
'python-pyacoustid: chroma plugin'
'python-gobject: bpd, replaygain plugins'
'python-gmusicapi: gmusic plugin'
'python-discogs-client: discogs plugin'
'python-requests-oauthlib: beatport plugin'
'python-pylast: lastgenre, lastimport plugins'
'python-beautifulsoup4: lyrics plugin'
'python-mpd2: mpdstats plugin'
'python-flask: web plugin'
'python-flask-cors: web plugin'
'python-rarfile: import plugin'
'python-xdg: thumbnails plugin'
'python-dbus: metasync plugin'
'python-soco: sonosupdate plugin'
'python-mutagen: scrub plugin'
'chromaprint: chroma plugin'
'ffmpeg: convert plugin'
'mp3val: badfiles plugin'
'flac: badfiles plugin'
'gstreamer: bpd, replaygain plugins'
'imagemagick: embedart plugin'
'essentia-acousticbrainz: absubmit plugin'
'keyfinder: keyfinder plugin'
'mp3gain: replaygain plugin'
'aacgain: replaygain plugin'
'audiotools: replaygain plugin'
'go-ipfs: ipfs plugin')
2020-10-10 11:36:12 +00:00
provides=("beets=$pkgver")
2015-06-26 04:19:44 +00:00
conflicts=('beets')
2017-01-10 11:36:02 +00:00
source=('git+https://github.com/beetbox/beets.git')
2015-06-26 04:19:44 +00:00
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/beets
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd ${srcdir}/beets
2016-08-17 08:43:29 +00:00
python setup.py build
2015-06-26 04:19:44 +00:00
}
package() {
cd ${srcdir}/beets
python setup.py install --root=${pkgdir} --optimize=1 --skip-build
2021-01-12 18:01:37 +00:00
install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
2015-06-26 04:19:44 +00:00
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2019-06-01 19:19:42 +00:00
}