2021-02-23 21:29:09 +01:00
|
|
|
# Template file for 'pipe-viewer'
|
|
|
|
pkgname=pipe-viewer
|
2021-04-10 22:17:33 +02:00
|
|
|
version=0.0.9
|
2021-02-23 21:29:09 +01:00
|
|
|
revision=1
|
|
|
|
build_style=perl-ModuleBuild
|
|
|
|
configure_args="--gtk"
|
|
|
|
hostmakedepends="perl-Module-Build"
|
|
|
|
depends="perl-Data-Dump perl-JSON perl-LWP-Protocol-https perl-Term-ReadLine-Gnu
|
|
|
|
perl-Unicode-LineBreak perl-JSON-XS"
|
|
|
|
checkdepends="perl-Test-Pod"
|
|
|
|
short_desc="Search and play videos from YouTube without an API key"
|
|
|
|
maintainer="Roberto Ricci <ricci@disroot.org>"
|
|
|
|
license="Artistic-2.0"
|
|
|
|
homepage="https://github.com/trizen/pipe-viewer"
|
|
|
|
changelog="https://github.com/trizen/pipe-viewer/releases"
|
|
|
|
distfiles="https://github.com/trizen/pipe-viewer/archive/${version}.tar.gz"
|
2021-04-10 22:17:33 +02:00
|
|
|
checksum=598ec7c39be0a42900ed1f4c5c68c26a728dd09b774e9dd38a873aa2def76e27
|
2021-02-23 21:29:09 +01:00
|
|
|
|
|
|
|
pipe-viewer-gtk_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} perl-Gtk3 perl-File-ShareDir"
|
|
|
|
short_desc+=" - GTK interface"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/gtk-pipe-viewer
|
|
|
|
vmove "usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/gtk-*"
|
|
|
|
vmove usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/icons
|
|
|
|
}
|
|
|
|
}
|