blob: 17333a9fb21e498a91f054b59102398d1979b19b (
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
|
# Maintainer: Gabriel Matthews <matthewriel63@gmail.com>
pkgname='yt-watch-git'
_pkgname='yt-watch'
pkgver=r11.ee9153b
pkgrel=1
pkgdesc="Search/Watch/Download/Convert YouTube Videos on mpv using yt-dlp/YouTube API."
arch=('any')
url="https://github.com/Kungger-git/yt-watch"
license=('GPL3')
depends=('jq' 'mpv' 'curl' 'xclip' 'yt-dlp')
makedepends=('git')
source=("yt-watch::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${srcdir}/${_pkgname}
install -Dm 755 ./yt-watch ${pkgdir}/usr/bin/yt-watch
}
|