summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b8764c7850b4f6957d45afa911b3d0360541545 (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
# Maintainer: Manuel Palenzuela <sadshinobi@protonmail.com>

author=vn-ki
pkgname=anime-downloader-git
_gitname=anime-downloader
pkgver=0.r290.264b912
pkgrel=1
pkgdesc='cli anime streamer and downloader'
url='https://github.com/vn-ki/anime-downloader.git'
arch=('any')
license=('unlicense')
depends=('aria2' 'python-beautifulsoup4' 'python-requests' 'python-click' 'python-fuzzywuzzy' 'python-coloredlogs' 'python-cfscrape' 'python-requests-cache' 'python-tabulate' 'python-pycryptodome' 'python')
makedepends=('git' 'python-pip')
provides=('anime-downloader')

source=("git+https://github.com/$author/$_gitname.git")

md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
    cd "$_gitname"
    printf '0.r%s.%s' \
        "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    #pip install --isolated --root=$pkgdir --ignore-installed --no-deps --no-warn-script-location -U git+https://github.com/$author/$_gitname.git
     pip install --isolated --root=$pkgdir --ignore-installed --no-deps --no-warn-script-location -U $srcdir/$_gitname
}