summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c5ba1361ae70d88ffb6b5923f412304152bd418 (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
# Maintainer: Niklas <dev@n1klas.net>

pkgname=python-pyhomematic
pkgver=0.1.67
pkgrel=1
pkgdesc="Python Interface to interact with Homematic devices"
arch=('any')
url="https://github.com/danielperna84/pyhomematic"
license=('MIT')
makedepends=('python-setuptools' 'git')
depends=('python')
source=("git+https://github.com/danielperna84/pyhomematic#tag=${pkgver}")
sha512sums=('SKIP')

build() {
  cd "$srcdir/pyhomematic"
  python setup.py build
}

package() {
  cd "$srcdir/pyhomematic"
  python setup.py install --skip-build --root="${pkgdir}" --optimize=1
  
  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}