# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-qdarkstyle _pkgname=QDarkStyle pkgver=3.2.3 pkgrel=3 pkgdesc='The most complete dark/light style sheet for C++/Python and Qt applications.' url='https://pypi.org/project/QDarkStyle/#files' arch=('any') license=('MIT') depends=('python' 'python-qtpy') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/QDarkStyle-$pkgver.tar.gz") sha512sums=('185d04c89d002da67f63c71b7da1cb13fa941bf75271b089d3d67bcc33011e5c5dcdac6a51854d99711070230596f2cd5c40f7ed2ff99b3ae1fde62fbe260edf') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }