summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a5f0776d79984acfd6197937fc7bc44c6cf2d28 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Bill Sideris <bill88t@feline.gr>

pkgname=doujinshi-dl
pkgver=2.0.9
pkgrel=1
pkgdesc='Doujinshi downloader framework'
arch=(any)
url="https://github.com/RicterZ/doujinshi-dl"
license=('MIT')

depends=(
    python-requests
    python-soupsieve
    python-beautifulsoup4
    python-tabulate
    python-iso8601
    python-httpx
    python-pip
    python-chardet
    doujinshi-dl-nhentai
)
makedepends=(
    git
    python-build
    python-installer
    python-wheel
    python-poetry
)

conflicts=(nhentai-git)
source=("https://github.com/RicterZ/doujinshi-dl/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('c727feaf371f0166f13701126a22b2c715964fd15ca3037e29647a095b74e34a')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}