#!/usr/bin/env bash
name='kapidox'
release='3'
version='6.5.0'
url='https://community.kde.org/Frameworks'
description='Frameworks API Documentation Tools'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kapidox-${version}.tar.xz")
depends=(py3-jinja py3-yaml)
makedepends=(py3-build py3-installer py3-wheel py3-setuptools qt6-base)
sha256sums=('f2542f22211474987998901cb48ad2202ee5156cf399805884e1449d9860a3a1')
group=(kde.frameworks)
uses=()
arch=('x86_64')

cd $name-$version

build () {
    python -m build --wheel
}

package () {
    python -m installer --destdir="$DESTDIR" dist/*.whl
}

