blob: 663219557a228badd10aa5b70501e1492d356eba (
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
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Aethar <elliott.ashby88@gmail.com>
pkgname=fastanime
pkgver=2.8.3
pkgrel=3
pkgdesc="FastAnime, anime site experience from the terminal."
arch=('x86_64')
url="https://github.com/Benex254/FastAnime"
license=('Unlicense')
makedepends=('python>=3.10' 'python-installer')
depends=('python'
'python-click'
'python-fastapi'
'python-inquirerpy'
'libtorrent'
'python-plyer'
'python-pytest'
'python-requests'
'python-rich'
'python-thefuzz'
'yt-dlp'
'python-dbus')
optdepends=('mpv: video player'
'webtorrent-cli: nyaa torrents'
'ffmpeg: download hls streams'
'rofi: alternative ui'
'fzf: alternative ui'
'chafa: terminal image viewer'
'icat: kitty terminal image viewer'
'bash: preview script language'
'ani-skip-git: skip anime openings'
'ffmpegthumbnailer: local previews'
'syncplay: watch with friends'
'feh: image viewer (for manga mode)')
provides=('fastanime')
install="${pkgname}.install"
source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd "${srcdir}" || exit
cd "FastAnime-${pkgver}" || exit
python -m build --wheel
}
package() {
cd "${srcdir}" || exit
cd "FastAnime-${pkgver}" || exit
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 completions/fastanime.bash "$pkgdir/usr/share/bash-completion/completions/fastanime"
install -Dm644 completions/fastanime.zsh "$pkgdir/usr/share/zsh/site-functions/_fastanime"
install -Dm644 completions/fastanime.fish "$pkgdir/usr/share/fish/vendor_completions.d/fastanime.fish"
}
sha256sums=('SKIP')
|