summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ca282f4de480db92837fc0bb2025b71794901ff (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
# Maintainer: Philipp A. <flying-sheep@web.de>

_name=qtico
pkgname=python-$_name
pkgver=0.2
pkgrel=1
pkgdesc='Tools for using cross-platform Qt icon themes'
arch=(any)
url="https://github.com/flying-sheep/$_name"
license=(GPL-3.0)
depends=(python python-qtpy)
makedepends=(python-flit-core python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('c10a33df2ffbcceda605660d815b9030c5f759afa5329722192d7aa8f0ec8c09')

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

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