summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec3a8a1255d85d5c37f73727ab1cb26a015f5818 (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
# Maintainer: gladon4 <mcgoldhand at gmail dot com>
pkgname=python-qt-themes
pkgver=0.3.0
pkgrel=1
pkgdesc="This is a collection of themes for Qt in Python."
arch=('any')
url="https://github.com/beatreichenbach/qt-themes"
license=('MIT')  
depends=(
  'python'
  'pyside6'
)
makedepends=(
  'git'
  'python-build'
  'python-wheel'
  'python-installer'
  'python-flit-core'
)
source=(
  "python-qt-themes-${pkgver}.tar.gz::https://github.com/beatreichenbach/qt-themes/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('SKIP')  

build() {
  cd "$srcdir/qt-themes-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir/qt-themes-${pkgver}"
  python -m installer --destdir="$pkgdir" dist/*.whl
}