makedeb
A posix script to find and watch youtube videos from the terminal Without API
Viewing /PKGBUILD
.
Click here to go back to the Git tree for ytfzf.
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=ytfzf
pkgver='2.6.1'
pkgrel=1
pkgdesc="A posix script to find and watch youtube videos from the terminal Without API"
arch=('any')
url="https://github.com/pystardust/ytfzf"
license=('GPL3')
depends=('jq' 'mpv')
provides=('ytfzf')
conflicts=('ytfzf')
# replaces=('ytfzf')
makedepends=('make')
optdepends=(
'dmenu: use dmenu for search prompts and results'
'rofi: use rofi for search prompts and results'
'fzf: use fzf for results.Get it from the MPR as thumbnails works only with the latest fzf version'
'ueberzug: thumbnails image preview '
'yt-dlp: to download videos'
)
source=("https://github.com/pystardust/ytfzf/archive/v${pkgver}.tar.gz")
sha512sums=("9266065352ae797bd5b8a2c71681b15599347ca38a519a21e84b42a0e8bb102c0937a02cbd6027c736ac0bdd7a6bc67fea664ecce5698032b4fef1ef0ec92c65")
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make PREFIX="/usr" \
DESTDIR="$pkgdir/" \
install "doc" "addons"
}