blob: 96944131394a1c5eb88cf17b24ceda8f71ee057c (
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
|
# Maintainer: channel-42 <info@devls.de>
pkgname=huetui
_gitname=hue-tui
pkgver=2.1
pkgrel=1
pkgdesc="A TUI for Phillips Hue"
arch=('any')
url="https://github.com/channel-42/hue-tui"
license=('MIT')
groups=('misc')
depends=('python' 'python-colorthief' 'python-py_cui' 'python-click' 'python-urllib3')
makedepends=('python-setuptools')
source=("https://github.com/channel-42/$_gitname/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('d90977e9ddd21c133bebc0e121cd1181')
package() {
cd "$srcdir/$_gitname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
# vim: ts=2 sw=2 et ft=PKGBUILD:
|