summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29435b4d51ed5d62cab929081618cdb37f615dde (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
# Maintainer: Ananas <ananas@ananas.moe>
# Maintainer: Goldy <goldy@devgoldy.xyz>
_pkgname=mov-cli-youtube
pkgname=python-mov-cli-youtube
pkgver="1.3.4"
pkgrel=1
pkgdesc="A mov-cli v4 plugin for watching youtube."
arch=("x86_64" "i686")
url="https://github.com/mov-cli/mov-cli-youtube"
license=("MIT")
makedepends=(
	"python-build" "python-wheel" "python-installer"
)
depends=(
	"python"
	"mov-cli"
	"python-pytubefix"
	"yt-dlp"
)
optdepends=()
checkdepends=()
provides=("mov-cli-youtube")
conflicts=()
md5sums=("SKIP")
source=(
	"${pkgname}-${pkgver}.zip::https://github.com/mov-cli/mov-cli-youtube/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
}