Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 30th, 2013  |  syntax: None  |  size: 1.37 KB  |  views: 77  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: CYB3R <dima@golovin.in>
  2. # Contributor: Sarkasper <kasper.menten@gmx.com>
  3. # Contributor: Scias <shining.scias@gmail.com>
  4. # Contributor: darzki <darzki@o2.pl>
  5. # Contributor: N30N <archlinux@alunamation.com>
  6. pkgname=("lwks")
  7. provides=("lightworks")
  8. pkgver=11.5.C
  9. pkgrel=1
  10. pkgdesc="A professional video editing software"
  11. arch=('x86_64')
  12. url="http://www.lwks.com/"
  13. license=('custom')
  14. install="${pkgname}.install"
  15. depends=('gtk3' 'portaudio_cpp' 'libgl' 'glu' 'ffmpeg' 'libedit' 'libtiff')
  16. optdepends=('nvidia-utils: only for nVidia users' 'nvidia-cg-toolkit')
  17. source=("${pkgname}-${pkgver}-amd64.deb::/dev/null")
  18. sha256sums=('d66baff635dc249b0f0fb476ffd4d5c4daf8647dab553d83ff59e2370517c516')
  19. if [ ! -f "${source[0]%%::*}" ]; then
  20. msg "Manual download from www.lwks.com/betas-linux required."
  21. msg2 "Place ${source[0]%%::*} in $(pwd)"
  22. fi
  23. package() {
  24. tar -zxf data.tar.gz -C "${pkgdir}"
  25. gzip -d "${pkgdir}/usr/share/doc/lightworks/changelog.gz"
  26. install -Dm644 "${pkgdir}/usr/share/doc/lightworks/copyright" \
  27. "$pkgdir/usr/share/licenses/$pkgname/copyright"
  28. rm "${pkgdir}/usr/share/doc/lightworks/copyright"
  29. # fix: connect to licensing server
  30. install -d "${pkgdir}/usr/lib/x86_64-linux-gnu"
  31. ln -s /usr/lib/libcurl.so "${pkgdir}/usr/lib/x86_64-linux-gnu/libcurl.so"
  32. # fix: permissions
  33. install -dm777 "${pkgdir}/usr/share/lightworks/{Preferences,Audio Mixes}"
  34. }
clone this paste RAW Paste Data