blob: 1c005cdc35f6cc5af48cb53023a0ef162e71d8fc (
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
  | 
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>
_name=DearPyGui
pkgname=python-dearpygui
pkgver=1.10.0
pkgrel=1
pkgdesc='A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies'
arch=(x86_64)
url='https://github.com/hoffstadt/DearPyGui'
license=('MIT')
depends=(python)
makedepends=(python-build python-installer python-wheel)
source=("git+$url#tag=v$pkgver")
b2sums=('SKIP')
prepare() {
    cd $_name
    git submodule update --init --recursive
}
build() {
    cd $_name
    python -m build --wheel --no-isolation
}
package() {
    cd $_name
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
  |