Skip to content

Instantly share code, notes, and snippets.

@kseistrup
Created Dec 26, 2021
Embed
What would you like to do?
PKGBUILD to build python-standardebooks on ArchLinux
# Maintainer: Tassos Natsakis <7712382@eipieq.com>
# Maintainer: Standard Ebooks <admin@standardebooks.org>
# Contributor: Standard Ebooks <standardebooks@googlegroups.com>
# Contributor: Klaus Alexander Seistrup <klaus@seistrup.dk>
# -*- sh -*-
pkgname=python-standardebooks
_pkgname="${pkgname#python-}"
pkgver=2.3.1
pkgrel=3
pkgdesc='The toolset used to produce Standard Ebooks epub ebooks'
arch=('any')
url='https://standardebooks.org/'
license=('GPLv3')
depends=(
'python'
'python-ftfy'
'python-tinycss2'
'python-titlecase'
)
makedepends=(
'python-pip'
)
package() {
umask 0022
pip install \
--force-reinstall \
--ignore-installed \
--no-warn-script-location \
--no-deps \
--compile \
--root="$pkgdir" \
--prefix='/usr' \
"$_pkgname"
}
# eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment