diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = comic-dl pkgdesc = Comic-dl is a command line tool to download Comics and Manga from various Manga and Comic sites easily. pkgver = 2019.05.26 - pkgrel = 3 + pkgrel = 4 url = https://github.com/Xonshiz/comic-dl arch = any license = MIT @@ -1,7 +1,7 @@ # Maintainer: BrainDamage pkgname="comic-dl" pkgver=2019.05.26 -pkgrel=3 +pkgrel=4 pkgdesc="Comic-dl is a command line tool to download Comics and Manga from various Manga and Comic sites easily." arch=(any) url="https://github.com/Xonshiz/comic-dl" @@ -11,10 +11,10 @@ depends=("python" "python-tqdm" "python-requests" "python-cfscrape" "python-clin sha256sums=('31cfc7b2d9e200ad2790b9b22f2bd69a1cea4817957d394bf3907838d3567eb0') source=("https://github.com/Xonshiz/comic-dl/archive/$pkgver.tar.gz") -build() { +prepare() { cd "$srcdir/$pkgname-$pkgver" sed --in-place s/"'comic_dl.sites'"/"'comic_dl.sites', 'comic_dl.readcomiconline'"/ setup.py - echo '#!/bin/env bash' > comic-dl + printf '%s\n' '#!/bin/env bash' >> comic-dl printf 'python %s/comic_dl/__main__.py $*' "$(python -c 'import site; print(site.getsitepackages()[0])')" >> comic-dl chmod +x comic-dl } |