blob: 2695a5133cd3c4bae6f863596c30a78d67c5e9c9 (
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: MoetaYuko <loli at yuko dot moe>
# Contributor: Joakim Repomaa <aur@j.repomaa.com>
pkgname=python-yalafi
pkgver=1.4.0
pkgrel=5
pkgdesc="Yet another LaTeX filter"
url="https://github.com/torik42/YaLafi"
depends=('python' 'languagetool')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
license=('GPL3')
arch=('any')
source=(
"https://github.com/torik42/YaLafi/archive/$pkgver.zip"
"ltdirectory.patch"
)
sha256sums=('0062175c40659eb16beff26cb934f073c87f6e6e5f56657b713eb401ec6973cc'
'ff59913ed6c4cc63dcf47f9604d5a096bd30e152f14e36ec53fa1e37793e5c10')
prepare() {
cd YaLafi-$pkgver
patch -p1 < "$srcdir/ltdirectory.patch"
}
build() {
cd YaLafi-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd YaLafi-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|