blob: ca6a2a3c247002f3f11f2fb257afbc8f565ebce4 (
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-uk
pkgver=2.4.1.1.1460299261
pkgrel=1
pkgdesc="Ukrainian 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-uk" pymorphy2-dicts-uk==$pkgver
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/pymorphy2-dicts-uk/* $pkgdir/"$sitepackages"
}
|