summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78b38ca6859e7a1d0f9a108cba119ea1f67e1739 (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
# Maintainer: Thomas hitthomas28@gmail.com
pkgname=mathsqt
pkgver=1.0.3 
pkgrel=1
pkgdesc="A comprehensive CLI math tool written in Python."
arch=('any')
url="https://github.com/ThomasSimpDev/Mathsqt"
license=('GPL3')  # Change to your license
depends=(
    'python-rich'
    'python-sympy'
    'python-numpy'
    'python-pyfiglet'
)
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')

source=("git+https://github.com/ThomasSimpDev/Mathsqt.git#tag=v$pkgver")
sha256sums=('SKIP')  # For git builds

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

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