[arch-commits] Commit in youtube-viewer/trunk (PKGBUILD)

Daniel Wallace dwallace at archlinux.org
Tue Sep 8 17:20:17 UTC 2015


    Date: Tuesday, September 8, 2015 @ 19:20:17
  Author: dwallace
Revision: 139631

upgpkg: youtube-viewer 1:3.1.9-1

upgpkg: youtube-viewer 3.1.9

Modified:
  youtube-viewer/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-08 17:06:30 UTC (rev 139630)
+++ PKGBUILD	2015-09-08 17:20:17 UTC (rev 139631)
@@ -3,16 +3,15 @@
 # Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
 
 pkgname=youtube-viewer
-_pkgdir=trizen-youtube-viewer
 epoch=1
-pkgver=3.1.7
+pkgver=3.1.9
 pkgrel=1
 pkgdesc="A command line utility for viewing youtube-videos in MPlayer."
 arch=('any')
 url="https://github.com/trizen/youtube-viewer"
 license=('GPL3')
-source=("$pkgname-$pkgver.zip::https://github.com/trizen/$pkgname/zipball/$pkgver")
-sha256sums=('9e5d503e0e5f7f0b986c65f1d8e7d400771ecce89ea786203f61531baf5c9f51')
+source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('7a4dec0a34fd632520986fbeebe4df14b5bc0aaee6b814e1eec6aa9b2b09f5ac')
 
 depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
 optdepends=('vlc: for playing videos'
@@ -24,20 +23,19 @@
 
 
 build() {
-    cd "$srcdir/$_pkgdir"*/
+    cd "$srcdir/$pkgname-$pkgver/"
 
-    perl Build.PL
     perl Makefile.PL INSTALLDIRS=vendor
 }
 
 check(){
-    cd "$srcdir/$_pkgdir"*/
+    cd "$srcdir/$pkgname-$pkgver/"
 
-    ./Build test
+    make test
 }
 
 package() {
-    cd "$srcdir/$_pkgdir"*/
+    cd "$srcdir/$pkgname-$pkgver/"
 
     make install DESTDIR=$pkgdir
     rm -r "$pkgdir/usr/lib/"



More information about the arch-commits mailing list