summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bde651f341146f8c1de0649f3421d2c488a2fc1 (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
# Maintainer: John Gerritse <tyrannis dot hawk at gmail dot com>

pkgname=python-symspellpy
_pkgname=symspellpy
pkgver=6.7.7
pkgrel=2
pkgdesc="Python SymSpell"
arch=('any')
url="https://github.com/mammothb/symspellpy"
license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=(
    ${pkgname}-${pkgver}.tar.gz::https://github.com/mammothb/symspellpy/archive/v${pkgver}.tar.gz
)
sha256sums=('d8e0b2f9739fd25058b84d2c72a4255ab2e29633598aeb08b9292b618506effa')

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

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