blob: 1e6f38a26dcfb5062eff384e7a395117059468fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# PKGBUILD generated by pipman
# Python package author: Standard Ebooks <standardebooks@googlegroups.com>
# Maintainer: Tassos Natsakis <7712382@eipieq.com>
# Maintainer: Standard Ebooks <admin@standardebooks.org>
pkgname=python-standardebooks
pkgver=2.3.6
pkgrel=2
pkgdesc="The toolset used to produce Standard Ebooks epub ebooks."
arch=(any)
url="https://standardebooks.org"
license=(GPLv3)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="standardebooks" standardebooks==$pkgver
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/standardebooks/* $pkgdir/"$sitepackages"
}
|