summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08a06bcafedd38cfb1179ea94daa5d1a9933f145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# PKGBUILD generated by pipman
# Python package author: Standard Ebooks <standardebooks@googlegroups.com>
# Maintainer: Tassos Natsakis <7712382@eipieq.com>
pkgname=python-standardebooks
pkgver=1.0.9
pkgrel=1
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==1.0.6
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/standardebooks/* $pkgdir/"$sitepackages"
}