void-packages/srcpkgs/straw-viewer/template
2020-10-28 18:05:11 +01:00

26 lines
1 KiB
Bash

# Template file for 'straw-viewer'
pkgname=straw-viewer
version=0.1.0
revision=3
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"
short_desc="Search and stream from YouTube using the API of invidio.us"
maintainer="Roberto Ricci <ricci@disroot.org>"
license="Artistic-2.0"
homepage="https://github.com/trizen/straw-viewer"
changelog="https://github.com/trizen/straw-viewer/releases"
distfiles="https://github.com/trizen/straw-viewer/archive/${version}.tar.gz"
checksum=59d264b874a9cb1f3ab98344d57952a4c14cb135a4978e05a0e307c8195d4135
gtk-straw-viewer_package() {
depends="${sourcepkg}-${version}_${revision} perl-Gtk3 perl-File-ShareDir"
short_desc="Gtk interface to search and stream YouTube using the API of invidio.us"
pkg_install() {
vmove usr/bin/gtk-straw-viewer
vmove "usr/share/perl5/vendor_perl/auto/share/dist/WWW-StrawViewer/gtk-*"
vmove usr/share/perl5/vendor_perl/auto/share/dist/WWW-StrawViewer/icons
}
}