28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'youtube-viewer'
|
|
pkgname=youtube-viewer
|
|
version=3.9.9
|
|
revision=1
|
|
build_style=perl-ModuleBuild
|
|
configure_args="--gtk"
|
|
hostmakedepends="perl-Module-Build"
|
|
makedepends="perl"
|
|
depends="perl-Data-Dump perl-JSON perl-LWP-Protocol-https perl-Term-ReadLine-Gnu"
|
|
checkdepends="perl-Test-Pod"
|
|
short_desc="Command-line client to search and stream from YouTube"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="Artistic-2.0"
|
|
homepage="https://github.com/trizen/youtube-viewer"
|
|
changelog="https://github.com/trizen/youtube-viewer/releases"
|
|
distfiles="https://github.com/trizen/youtube-viewer/archive/${version}.tar.gz"
|
|
checksum=29a326b6496bc6e96840d3c854d79a3ffb9e6006a033f11478c1633c1ac48a8b
|
|
|
|
gtk-youtube-viewer_package() {
|
|
depends="${sourcepkg}-${version}_${revision} perl-Gtk3 perl-File-ShareDir"
|
|
short_desc="Gtk interface to search and stream videos from YouTube"
|
|
pkg_install() {
|
|
vmove "usr/bin/gtk*-youtube-viewer"
|
|
vmove "usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/gtk*"
|
|
vmove usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/icons
|
|
}
|
|
}
|