summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4da36aae6af53c6837f88b1c617a3d63a724f99 (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.2.0
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"
}