blob: 41f82c14c1f737facb34e4379fc0908549b955fe (
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
|
# Maintainer: eggy <eggyrules at gmail dot com>
pkgname=mandown-git
pkgver=r34.cdeae10
pkgrel=1
pkgdesc="Command line application and Python library to download comics from various sources"
url="https://github.com/potatoeggy/mandown"
replaces=()
arch=("any")
license=("AGPL3")
depends=("python-requests"
"python-typer"
"python-feedparser"
"python-beautifulsoup4"
)
makedepends=("git" "python-setuptools" "python-dephell")
provides=()
conflicts=("mandown")
source=("git+$url.git")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/mandown"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/mandown"
dephell deps convert --from pyproject.toml --to setup.py
}
build() {
cd "$srcdir/mandown"
python setup.py build
}
package() {
cd "$srcdir/mandown"
python setup.py install --root="$pkgdir" --optimize=1
}
|