blob: c77137579039eacb254b97c2818872ec62efe258 (
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: Joao Freitas <joaj dot freitas at gmail dot com>
pkgname=procal-git
pkgver=135955b5
pkgrel=1
pkgdesc='Simple Qt-based programming calculator'
arch=('x86_64')
url='https://github.com/fellerts/procal'
license=('GPLv3')
depends=('python' 'python-pyqt6' 'python-pyqt6-sip' 'python-pyqtdarktheme')
optdepends=()
makedepends=(python-build python-installer python-wheel python-setuptools-scm)
provides=('procal')
_pkgname=procal
source=("${_pkgname}::git+$url#commit=$pkgver")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "%s" "$(git rev-parse HEAD | head -c8)"
}
build() {
cd "$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|