blob: 8303ca6fb81a4671400da162daa46f4fd37a0a6f (
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
29
|
# Maintainer: m8D2 <omui (at) proton mail (dot) com>
# Contributor: novenary <streetwalkermc@gmail.com>
# Contributor: Daniel M. Capella <polyzen@archlinux.org>
pkgname=python-soco
pkgver=0.28.1
pkgrel=1
pkgdesc="A Python library that allows you to control Sonos speakers programmatically"
arch=('any')
url="https://github.com/SoCo/SoCo"
license=('MIT')
depends=('python' 'python-requests' 'python-xmltodict' 'python-ifaddr')
makedepends=('python-setuptools')
source=("SoCo-$pkgver.tar.gz::https://github.com/SoCo/SoCo/archive/v$pkgver.tar.gz")
sha256sums=('012d60b19aeeef87cb2f016c3c08979ef509ac37795f8327b80fcf2078b21f39')
build() {
cd SoCo-$pkgver
python setup.py build
}
package() {
cd SoCo-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
}
# vim:set ts=2 sw=2 et:
|