summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b16775b8dc4f1f207c0183e4304c0609faa9f8c (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
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>

_name=concur_imgui
pkgname=python-concur-imgui
pkgver=1.3.9
pkgrel=1
pkgdesc='Cython-based Python bindings for dear imgui (Concur fork)'
arch=(x86_64)
url='https://github.com/potocpav/pyimgui'
license=('MIT')
depends=(python)
makedepends=(python-build python-installer python-wheel)
provides=(python-imgui)
conflicts=(python-imgui)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('f6e7e71ffaccedb293f5af9cc477fae873fe2d34b30e7235def3f52dfa05fa94')

build() {
    cd "$_name-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}