Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: pipe-viewer-0.0.7 #29014

Merged
merged 1 commit into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions srcpkgs/pipe-viewer-gtk
28 changes: 28 additions & 0 deletions srcpkgs/pipe-viewer/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Template file for 'pipe-viewer'
pkgname=pipe-viewer
version=0.0.7
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
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"
checksum=5e1211ec963aa2a187bcb0983227c5667e6c580bfc9de93dcb582388cc1baf22

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
}
}