blob: 5243077b623ddcedf4f3c4ecd53bfb937045ddae (
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
26
|
# Maintainer: quietvoid <tcChlisop0@gmail.com>
pkgname="bscpylgtv"
pkgver=0.4.6
pkgrel=2
pkgdesc="Library to control webOS based LG TV devices"
_rootdir="${pkgname}-${pkgver}"
url="https://github.com/chros73/bscpylgtv"
depends=('python' 'python-numpy' 'python-websockets' 'python-sqlitedict')
makedepends=('python-build' 'python-installer' 'python-wheel')
license=('MIT')
arch=('x86_64')
source=("${_rootdir}.tar.gz::https://github.com/chros73/bscpylgtv/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('7c6cbf44c70f831eeea088a2a6210575736abc3dc6191ce35ade6473959e49b9')
build() {
cd "${_rootdir}"
python -m build --wheel
}
package() {
cd "${_rootdir}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|