[arch-commits] Commit in youtube-viewer/trunk (PKGBUILD)
Alad Wenter
alad at archlinux.org
Sat Oct 14 21:57:31 UTC 2017
Date: Saturday, October 14, 2017 @ 21:57:30
Author: alad
Revision: 262815
Match style to my other packages
Modified:
youtube-viewer/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++----------------------
1 file changed, 19 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-14 21:52:57 UTC (rev 262814)
+++ PKGBUILD 2017-10-14 21:57:30 UTC (rev 262815)
@@ -1,4 +1,4 @@
-#$Id$
+# $Id$
# Maintainer: Alad Wenter <alad at mailbox.org>
# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
# Contributor: Daniel Wallace < danielwallace at gtmanfred dot com>
@@ -12,35 +12,32 @@
arch=('any')
url='https://github.com/trizen/youtube-viewer'
license=('GPL3')
+depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
+makedepends=('perl-module-build')
+optdepends=('perl-json-xs: faster JSON to HASH conversion'
+ 'perl-text-charwidth: to print the 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'
+ 'vlc: for playing the videos with VLC'
+ 'mpv: for playing the videos with MPV (recommended)'
+ 'gtk2-perl: for the GTK GUI'
+ 'perl-file-sharedir: for the GTK GUI')
source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('91fd0eef5744b0cbb859a87b158ae95bdb2512b921ffab8e916710ac5e9ad092')
-depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
-makedepends=('perl-module-build')
-optdepends=(
- 'perl-json-xs: faster JSON to HASH conversion'
- 'perl-text-charwidth: to print the 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'
- 'vlc: for playing the videos with VLC'
- 'mpv: for playing the videos with MPV (recommended)'
- 'gtk2-perl: for the GTK GUI'
- 'perl-file-sharedir: for the GTK GUI'
-)
build() {
- cd "$pkgname-$pkgver"
-
- perl Build.PL --installdirs vendor --gtk
+ cd "$pkgname-$pkgver"
+ perl Build.PL --installdirs vendor --gtk
}
check(){
- cd $pkgname-$pkgver
- ./Build test
+ cd "$pkgname-$pkgver"
+ ./Build test
}
package() {
- cd $pkgname-$pkgver
- ./Build install --destdir "$pkgdir"
- rm -r "$pkgdir"/usr/lib
+ cd "$pkgname-$pkgver"
+ ./Build install --destdir "$pkgdir"
+ rm -r "$pkgdir"/usr/lib
}
More information about the arch-commits
mailing list