SHARE
TWEET

Untitled

a guest Dec 5th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Johannes Löthberg <johannes@kyriasis.com>
  2.  
  3. pkgbase=python2-pafy
  4. pkgname=(python2-pafy)
  5. pkgver=0.5.3.1
  6. pkgrel=1
  7.  
  8. pkgdesc="Python API for YouTube"
  9. url="https://github.com/mps-youtube/pafy"
  10. arch=('any')
  11. license=('GPL3')
  12.  
  13. makedepends=('python-setuptools' 'python2-setuptools')
  14. optdepends=('ffmpeg: fix issues with audio file downloads'
  15.             'youtube-dl: alternative backend')
  16.  
  17. source=("python-pafy-$pkgver.tar.gz::https://github.com/mps-youtube/pafy/archive/v$pkgver.tar.gz")
  18.  
  19. sha1sums=('03e7d2e1570aa712ab3823cba89298a5c624e94a')
  20.  
  21. #package_python-pafy() {
  22. #   depends=('python')
  23.  
  24. #   cd pafy-$pkgver
  25. #   python setup.py install --root="$pkgdir" --optimize=1
  26. #}
  27.  
  28. package_python2-pafy() {
  29.     depends=('python2')
  30.  
  31.     cd pafy-$pkgver
  32.  
  33.     python2 setup.py install --root="$pkgdir" --optimize=1
  34.     rm "$pkgdir"/usr/bin/ytdl
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top