blob: 68bdf31d08790c4d495c93893e2518ae4c4702f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: vantu5z <vantu5z@mail.ru>
# PKGBUILD generated by pipman
# Python package author: Mikhail Korobov <kmike84@gmail.com>
pkgname=python-pymorphy2-dicts-ru
pkgver=2.4.417127.4579844
pkgrel=1
pkgdesc="Russian dictionaries for pymorphy2"
arch=(any)
url="https://github.com/kmike/pymorphy2-dicts/"
license=(MIT license)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="pymorphy2-dicts-ru" pymorphy2-dicts-ru==$pkgver
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/pymorphy2-dicts-ru/* $pkgdir/"$sitepackages"
}
|