summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbd4efe39eb017170e0c914cc4247ae0bc87ad4d (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
# 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')
optdepends=('mpv: support for online anime watching')
makedepends=('git')
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() {
  cd "$_gitname"
  python setup.py install --root=$pkgdir
}