blob: cb28a04e64f9c3d6ebb8f51e6df2c0f9d35c6db7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: robertfoster
pkgname=mopidy-cd-git
pkgver=r36.6aff412
pkgrel=1
pkgdesc='A Mopidy extension for playing music from Audio CD.'
arch=('any')
url="https://github.com/antosart/mopidy-cd"
license=('APACHE')
depends=('mopidy>=3' 'python-musicbrainzngs')
makedepends=('python-setuptools' 'python-pip')
source=("${pkgname%%-git}::git+${url}"
mopidy-cd.sysusers)
pkgver() {
cd "${srcdir}/${pkgname%%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname%%-git}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 "${srcdir}/mopidy-cd.sysusers" \
"${pkgdir}/usr/lib/sysusers.d/mopidy-cd.conf"
}
sha256sums=('SKIP'
'040de00da0991afaedd6c6bc7eb938e9ae66d9700865402428a2d073df74face')
|