blob: 089c66a674912b52ada98e39ef2eee8ff4aea87c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
_pkgname=youtube-viewer
pkgname=youtube-viewer-git
pkgver=3.4.1
pkgrel=1
pkgdesc="A command line utility for searching and streaming videos from YouTube."
arch=('any')
url="https://github.com/trizen/youtube-viewer"
license=('Artistic2.0')
makedepends=('git' 'perl-module-build')
provides=('youtube-viewer')
conflicts=('youtube-viewer')
depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
optdepends=(
'perl-json-xs: faster JSON to HASH conversion'
'perl-lwp-useragent-cached: cache support'
'perl-unicode-linebreak: for printing results in a fixed-width format (-W)'
'perl-term-readline-gnu: for better STDIN support'
'youtube-dl: for playing videos with encrypted signatures'
'wget: for downloading videos with wget'
'mplayer: for playing videos with MPlayer'
'vlc: for playing videos with VLC'
'mpv: for playing videos with MPV (recommended)'
'ffmpeg: for conversions and MKV merging'
)
source=('git://github.com/trizen/youtube-viewer.git')
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --always | sed -e 's|-|.|g'
}
package() {
cd $_pkgname
/usr/bin/perl Build.PL --destdir "$pkgdir" --installdirs vendor
./Build
./Build test
./Build install --install_path script=/usr/bin
}
|