summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71540d2ff66158dc1f0561547c4b0d9ec9687caf (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=1.0.18
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"
}