summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a7db8b3e9c676e68a9b5695a9d9bf9176b11923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: David Baum <david.baum@naraesk.eu>
pkgname=python-phue
pkgver=1.0
pkgrel=1
pkgdesc="A Philips Hue Python library"
arch=('any')
url="https://github.com/studioimaginaire/phue"
license=('MIT')
depends=('python')
makedepends=('python' 'python-pip')
source=('LICENSE')
md5sums=('852ebbd5fd0880fc619e859b04cf2b6c')

build() {
  pip install --no-deps --target="phue" phue
}
package() {
  mkdir -p $pkgdir/usr/lib/python3.7/site-packages/
  cp -r $srcdir/phue/* $pkgdir/usr/lib/python3.7/site-packages/
  install -Dm644 $srcdir/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}