summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0165ce16489104658d5d4ecdb01e5e188317933 (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
# Maintainer: Prayz Jomba <prayzjomba@protonmail.com>
pkgname=ywatch-git
pkgver=0.6.3
pkgrel=3
pkgdesc="Watch youtube videos with mpv while saving the video to disk."
arch=(any)
url="https://github.com/prayzjomba/ywatch.git"
license=('GPL')
depends=('youtube-dl' 'xclip' 'mpv' 'python-rich' 'python-pyperclip' 'python-func-timeout')
makedepends=('git' 'make' 'python-setuptools')
provides=(yw)
install=
changelog=
source=("$pkgname"::"git+$url#branch=$pkgver")
md5sums=('SKIP')


build() {
	cd "$pkgname"
	python setup.py build
}


package() {
	cd "$pkgname"
	python setup.py install --root="$pkgdir" --optimize=1
}