arcolinux

Vivaldi-codecs-ffmpeg-extra-bin

Mar 3rd, 2018
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Fahad Hossain <8bit.demoncoder AT gmail.com>
  2. pkgname=vivaldi-codecs-ffmpeg-extra-bin
  3. pkgver=64.0.3282.119
  4. pkgrel=1
  5. pkgdesc="Prebuilt ffmpeg-codecs package for vivaldi"
  6. arch=(
  7. "x86_64"
  8. )
  9. url="https://packages.ubuntu.com/artful/amd64/chromium-codecs-ffmpeg-extra/download"
  10. license=('LGPL')
  11. depends=('vivaldi')
  12. provides=(
  13. 'vivaldi-ffmpeg-codecs'
  14. )
  15. conflicts=(
  16. 'vivaldi-ffmpeg-codecs'
  17. )
  18. source=(
  19. "http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_${pkgver}-0ubuntu0.17.10.${pkgrel}_amd64.deb"
  20. )
  21. md5sums=(
  22. "09f6f88156f80d275b079df34fe9f02e"
  23. )
  24. install=vivaldi-codecs-ffmpeg-extra-bin.install
  25.  
  26. prepare() {
  27. cd "$srcdir"
  28. tar -xJf data.tar.xz
  29. }
  30.  
  31. package() {
  32. cd "$srcdir"
  33. mkdir -p "$pkgdir/usr/share/vivaldi-codecs"
  34. cp "$srcdir/usr/lib/chromium-browser/libffmpeg.so" "$pkgdir/usr/share/vivaldi-codecs/libffmpeg.so"
  35. }
RAW Paste Data