2023-01-10 19:16:39 +00:00
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2024-04-14 21:37:57 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgname=calibre-web
|
2023-11-27 19:33:20 +00:00
|
|
|
pkgver=0.6.21
|
2024-04-14 21:37:57 +00:00
|
|
|
pkgrel=1
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="Web app for browsing, reading and downloading eBooks stored in a Calibre database"
|
2023-11-27 19:33:20 +00:00
|
|
|
arch='noarch'
|
2021-11-30 21:44:44 +00:00
|
|
|
url="https://github.com/janeczku/calibre-web"
|
2023-01-10 19:16:39 +00:00
|
|
|
license='GPL-3.0-only'
|
|
|
|
depends="
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-apscheduler
|
2023-01-10 19:16:39 +00:00
|
|
|
py3-babel
|
2024-04-14 21:37:57 +00:00
|
|
|
py3-backports_abc
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-blinker
|
|
|
|
py3-chardet
|
2023-01-10 19:16:39 +00:00
|
|
|
py3-flask-babel
|
|
|
|
py3-flask-login
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-flask-limiter
|
2023-01-10 19:16:39 +00:00
|
|
|
py3-flask-principal
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-flask-wtf
|
|
|
|
py3-goodreads
|
|
|
|
py3-levenshtein
|
|
|
|
py3-iso639
|
|
|
|
py3-lxml
|
2023-01-10 19:16:39 +00:00
|
|
|
py3-pypdf2
|
|
|
|
py3-requests
|
|
|
|
py3-sqlalchemy
|
|
|
|
py3-tornado
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-tz
|
2023-01-10 19:16:39 +00:00
|
|
|
py3-unidecode
|
2023-04-01 15:41:40 +00:00
|
|
|
py3-wand
|
|
|
|
py3-werkzeug
|
2023-01-10 19:16:39 +00:00
|
|
|
"
|
2021-11-30 21:44:44 +00:00
|
|
|
source="
|
2023-01-10 19:16:39 +00:00
|
|
|
$pkgname-$pkgver.tar.gz::https://github.com/janeczku/calibre-web/archive/$pkgver.tar.gz
|
|
|
|
calibre-web.conf
|
|
|
|
calibre-web.initd
|
|
|
|
"
|
|
|
|
options="!check" # No testsuite
|
2021-11-30 21:44:44 +00:00
|
|
|
subpackages="$pkgname-openrc"
|
2023-01-10 19:16:39 +00:00
|
|
|
pkgusers="calibre-web"
|
|
|
|
pkggroups="www-data"
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
prepare() {
|
2023-01-10 19:16:39 +00:00
|
|
|
default_prepare
|
|
|
|
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' cps.py
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-04-01 15:41:40 +00:00
|
|
|
local wwwdir="/usr/share/webapps"
|
2023-01-10 19:16:39 +00:00
|
|
|
|
|
|
|
install -d -m 755 "$pkgdir"/$wwwdir
|
2023-04-01 15:41:40 +00:00
|
|
|
cp -a "$srcdir"/$pkgname-$pkgver "$pkgdir"/$wwwdir/$pkgname
|
2021-11-30 21:44:44 +00:00
|
|
|
|
2023-01-10 19:16:39 +00:00
|
|
|
install -D -m 755 "$srcdir"/calibre-web.initd "$pkgdir"/etc/init.d/calibre-web
|
|
|
|
install -D -m 644 "$srcdir"/calibre-web.conf "$pkgdir"/etc/conf.d/calibre-web
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
2023-11-27 19:33:20 +00:00
|
|
|
d2f07eec0b6c9f65e68ae0b72fddd14444eb8be8b0fee997ec7caaa1feebb8a26603844752347547becde501669af5bce69e9eab466a28fd4b10624b65c9afcf calibre-web-0.6.21.tar.gz
|
2023-01-10 19:16:39 +00:00
|
|
|
4aba825eb12f44eb0912cc6981b46bec9b77ad114627564c9c7585862a099c7d1ff8deec5f15d047319805e2b9a3e2d128b2d1292dd92293a7e72359009a480f calibre-web.conf
|
|
|
|
62859a8a304216dc0dbfb7f2e8144a50d348c6621f5b292c08aa97a872ada67b52d36b567546fd0f4c439dbefe0bbe0e4fb1e1affbe507278b4a8d36ed3fa2a9 calibre-web.initd
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|