diff options
author | Duckz@protonmail.ch | 2021-03-08 03:09:54 -0700 |
---|---|---|
committer | Duckz@protonmail.ch | 2021-03-08 03:09:54 -0700 |
commit | b310107b02dcc5f4024bbb37730503fb6d1c922c (patch) | |
tree | ee44ac14ed46a18ad5b2f87698baffce076f8bd5 /PKGBUILD | |
download | aur-b310107b02dcc5f4024bbb37730503fb6d1c922c.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..61a910f2b1df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Robert Manning <duckz@protonmail.ch> + +pkgname=lightnovel-crawler-bin +pkgver=2.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/latest/download/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/.*"v([^"]+)".*/\1/' +} +package() { + install -Dm755 lncrawl ${pkgdir}/usr/bin/lncrawl +} |