summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66a164df3557d61ea110bb4454e4ba56d9f123ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Stefan Ott <stefan@ott.net>
pkgname="blink1-python"
pkgver=0.3.1
pkgrel=1
pkgdesc="Official Python library for blink(1) USB RGB LED notification devices"
arch=("any")
url="https://github.com/todbot/${pkgname}"
license=("MIT")

depends=("python" "python-webcolors" "python-hidapi")
makedepends=("git" "python-setuptools")

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/todbot/blink1-python/archive/${pkgver}.tar.gz")
sha512sums=("ea017913ba3ebb20b553ee9981037cc861ded8a6cbc0a2d8b2c2995635113489c6ee6b9649f343960aa27b5a9cb196362e5a96c08d21afc38ef3b6abdc069c2d")

package()
{
    cd "${srcdir}/${pkgname}-${pkgver}"

    python setup.py install --root="${pkgdir}" --optimize=1
}