blob: 61d8c7b41421b2fd7c628a4052d48749749addaf (
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
|
# Maintainer: Your Name <youremail@example.com>
pkgname=animepahe-dl
pkgver=5.12.0
pkgrel=1
pkgdesc="A Python-based tool to download anime from AnimePahe, featuring both a Command-Line Interface (CLI) and a Graphical User Interface (GUI)."
arch=('any')
url="https://github.com/ayushjaipuriyar/animepahe-dl"
license=('MIT')
depends=(
'python'
'ffmpeg'
'fzf'
'nodejs'
'python-beautifulsoup4'
'python-pyfzf'
'python-pycryptodome'
'python-tqdm'
'python-urllib3'
'python-pyqt6'
'python-platformdirs'
'python-loguru'
'python-plyer'
'python-questionary'
)
makedepends=('python-setuptools' 'python-build')
source=("git+https://github.com/ayushjaipuriyar/animepahe-dl.git#tag=v5.12.0")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python -m build
}
package() {
cd "${srcdir}/${pkgname}"
python -m pip install --root="${pkgdir}" --no-deps --ignore-installed .
# Install desktop entry
install -Dm644 "${srcdir}/${pkgname}/animepahe-dl.desktop" \
"${pkgdir}/usr/share/applications/animepahe-dl.desktop"
# Install icon (SVG)
install -Dm644 "${srcdir}/${pkgname}/icon.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/animepahe-dl.svg"
}
|