summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7df73c0c08e74cc9ee6c35616f24790a5f4e6d20 (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: Goldy <goldy@devgoldy.xyz>
# Maintainer: Ananas <ananas@ananas.moe>
pkgname=mov-cli
pkgver="4.3.15"
pkgrel=1
pkgdesc="Watch everything from your terminal."
arch=("x86_64" "i686")
url="https://github.com/mov-cli/mov-cli"
license=("MIT")
makedepends=(
	"python-build" "python-wheel" "python-setuptools-scm" "python-installer"
)
depends=(
	"python"
	"python-beautifulsoup4"
	"python-httpx"
	"python-toml"
	"python-typer"
	"python-inquirer"
	"python-unidecode"
	"python-deprecation"
	"python-devgoldyutils"
	"python-mov-cli-test"

	"nano"
	"mpv"
	"fzf"
)
optdepends=(
	"python-lxml: For faster beautifulsoup parser."

	"vlc: Optional media player."

	"ffmpeg: For downloading media"

	"yt-dlp"
)
checkdepends=()
provides=("mov-cli")
conflicts=("mov-cli-git")
md5sums=("SKIP")
source=(
	"https://github.com/mov-cli/mov-cli/archive/refs/tags/$pkgver.zip"
)

build() {
	cd $srcdir/$pkgname-$pkgver
	python -m build --wheel --no-isolation
}

package() {
    cd $pkgname-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}