blob: 4c56400bf96c52346df4d9e0281dde5db8534428 (
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: envolution
# Contributor: nosada <ngsksdt@gmail.com>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=python-mojimoji
_pkgname=mojimoji
pkgver=0.0.13
pkgrel=2
pkgdesc="A fast converter between Japanese hankaku and zenkaku characters"
url="https://github.com/studio-ousia/mojimoji"
arch=('x86_64' 'i686')
license=('Apache')
depends=('python')
makedepends=('cython' python-installer)
source=("$pkgname-$pkgver.tar.gz::https://github.com/studio-ousia/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('e7c4981756ea402a0acdd2da430274f0179af0036cf0e4a2f5a0b34601627ee040576589948d283b095c0cb6fbeca1bdb8bd17e15397aa694eeaf77e76d28a55')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}/
python -m build --wheel --no-isolation
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}/
python -m installer --destdir=${pkgdir} dist/*.whl
}
# vim:set ts=2 sw=2 et:
|