summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b513622baff58a558758c4d9f920a67daa3151ac (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
# Maintainer: Pete Alexandrou <pete@ozmartians.com>
pkgname=python-qroundprogressbar
_pkgname=QRoundProgressBar
pkgver=1.0.0
pkgrel=4
pkgdesc="Circular progress bar PyQt6 widget (ported from C++ project at: https://sourceforge.net/projects/qroundprogressbar)"
arch=('any')
license=('Apache')
url="https://github.com/ozmartian/QRoundProgressBar"
#source=(https://github.com/ozmartian/${_pkgname}/archive/${pkgver}.tar.gz)
source=(git+https://github.com/ozmartian/${_pkgname}.git)
depends=('python-pyqt6')
makedepends=('git' 'python-setuptools')
provides=('python-qroundprogressbar')
md5sums=('SKIP')

build() {
    cd "${srcdir}/${_pkgname}"
    python3 setup.py build
}

package() {
    cd "${srcdir}/${_pkgname}"
    python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}