blob: f6189e8d4470fb3725e2b3f19c470a1bcb48eae5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
_name=DearPyGui
pkgname=python-dearpygui
pkgver=2.0.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=(glibc gcc-libs libglvnd libx11 libxcursor libxi libxinerama libxrandr 'python>=3.8')
makedepends=(git cmake python-build python-installer python-setuptools python-wheel)
source=("git+$url#tag=v$pkgver"
"git+https://github.com/ocornut/imgui"
"git+https://github.com/epezent/implot"
"git+https://github.com/glfw/glfw")
b2sums=('d7874df353342a7fa59d503b8b17d723e901f2b3b9c0dab1c0bd3391a0271e86c8cb9aa14fa347b513f7137478904e6b2b456fc98c9f40fa14b11df9fb91223b'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd $_name
git submodule init
git config submodule.thirdparty/imgui.url "$srcdir/imgui"
git config submodule.thirdparty/implot.url "$srcdir/implot"
git config submodule.thirdparty/cpython.update none
git config submodule.thirdparty/glfw.url "$srcdir/glfw"
git config submodule.thirdparty/freetype.update none
git config submodule.thirdparty/DearPyGui_Ext.update none
git -c protocol.file.allow=always submodule update
}
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"
}
|