blob: 81ecc030dbd846b9e448e91ab29900754eef1964 (
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
|
# Maintainer: Marc Riera <marcriera@softcatala.org>
pkgname=python-apertium-streamparser
pkgver=5.0.2
pkgrel=1
pkgdesc="Python library to parse the Apertium stream format"
url="https://www.apertium.org/"
license=(GPL3)
arch=(any)
depends=(
python
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/streamparser/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('91c4f85c37fe83da7e696c350b6a3a5f57b5af0a4523dc9de5ca159ff24c7122')
build() {
cd streamparser-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd streamparser-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
|