blob: 8ce89f79731d2e4f6b53293ccb97d70f027f6d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pkgname=python-home-assistant-frontend
pkgver=20241127.6
pkgrel=1
pkgdesc="The Home Assistant frontend"
arch=(any)
url="https://github.com/home-assistant/frontend"
license=(Apache-2.0)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="home-assistant-frontend" home-assistant-frontend==${pkgver}
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/home-assistant-frontend/* $pkgdir/"$sitepackages"
}
|