blob: 4e306296ad6453e5ff4b8e3f28364ae6f2b5953d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Robert Manning <duckz@protonmail.ch>
pkgname=lightnovel-crawler-bin
pkgver=v2.24.5
pkgrel=1
pkgdesc="An app to download novels from online sources and generate e-books."
arch=('any')
url="https://github.com/dipu-bd/lightnovel-crawler.git"
license=('Apache')
depends=(python)
makedepends=(git)
optdepends=('calibre: Output suport for docx, mobi, pdf, rtf, azw3, txt, fb2, lit, lrf, oeb, pdb, rb, snb, tcr')
provides=(lncrawl)
conflicts=(lncrawl)
source=("https://github.com/dipu-bd/lightnovel-crawler/releases/download/$pkgver/lncrawl")
md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
curl --silent "https://api.github.com/repos/dipu-bd/lightnovel-crawler/releases/latest" |\
grep '"tag_name":' |\
sed -E 's/.*"([^"]+)".*/\1/'
}
package() {
install -Dm755 lncrawl ${pkgdir}/usr/bin/lncrawl
}
|