diff options
author | m-pilia | 2017-10-31 15:51:12 +0100 |
---|---|---|
committer | m-pilia | 2017-10-31 15:51:12 +0100 |
commit | 58a406fabc022a736c22369b80643b8447c9b03d (patch) | |
tree | ec0151374e30180e5ede2cd98c3313a4ad17f857 | |
download | aur-58a406fabc022a736c22369b80643b8447c9b03d.tar.gz |
submission
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0fbe118ff5b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pytradfri + pkgdesc = Python class to communicate with the IKEA Trådfri Gateway + pkgver = 3.0.4 + pkgrel = 1 + url = https://github.com/ggravlingen/pytradfri + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = libcoap + depends = python-aiocoap + source = https://github.com/ggravlingen/pytradfri/archive/3.0.4.tar.gz + sha512sums = d9da312fe93688f7b0b52ebb081adad76c144c5eb5136e8bb81ae4d78843a04e482a98cfdb3e42ef2dde313e1255c0a51727ebd476a82a039608a06fc09c5e68 + +pkgname = python-pytradfri + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4d08ab8a7e62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com> +_pkgname=pytradfri +pkgname=python-$_pkgname +pkgver=3.0.4 +pkgrel=1 +pkgdesc="Python class to communicate with the IKEA Trådfri Gateway" +arch=('any') +url="https://github.com/ggravlingen/pytradfri" +license=('MIT') +depends=('python' 'libcoap' 'python-aiocoap') +makedepends=('python-setuptools') +source=("https://github.com/ggravlingen/pytradfri/archive/${pkgver}.tar.gz") +sha512sums=('d9da312fe93688f7b0b52ebb081adad76c144c5eb5136e8bb81ae4d78843a04e482a98cfdb3e42ef2dde313e1255c0a51727ebd476a82a039608a06fc09c5e68') + +package() { + cd "$srcdir/$_pkgname-$pkgver" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + python setup.py install --root="$pkgdir" +} |