void-packages/srcpkgs/youtube-viewer/template
2019-08-31 14:18:56 +02:00

27 lines
1 KiB
Bash

# Template file for 'youtube-viewer'
pkgname=youtube-viewer
version=3.5.7
revision=1
archs=noarch
build_style=perl-ModuleBuild
configure_args="--gtk"
hostmakedepends="perl-Module-Build"
makedepends="perl"
depends="perl-Data-Dump perl-JSON perl-LWP-Protocol-https"
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=0225f8c86996da74b81064b0423d4407c28d7a44821af1674d7db5ebe25b6e16
gtk-youtube-viewer_package() {
depends="${sourcepkg}-${version}_${revision} perl-Gtk2 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
}
}