blob: 9c9402eb7df11572c88282d4cc9078ac143d8a7d (
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
27
28
29
30
31
32
|
pkgname=vskui
pkgver=0.1.0
pkgrel=1
pkgdesc="A Python widget framework for Hyprland"
arch=('any')
url="https://github.com/vskksa/vskui"
license=('LGPL-2.1-only')
depends=(
'python>=3.11'
'gtk4'
'gtk4-layer-shell'
'python-gobject'
'hyprland'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('f786917e88beb9db9fa5e7b6d531a98358c51f45d4a5546d54d0898fcb09f45e')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|