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

Lighttable PKGBUILD 0.5.2

By: utopicchaotica on Sep 1st, 2013  |  syntax: None  |  size: 1.67 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Ebubekir KARUL <ebubekirkarul@yandex.com>
  2. # Contributor: Gaurish Sharma <contact@gaurishsharma.com>
  3. # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
  4. # Contributor: Tony Sokhon <tonyskn@gmail.com>
  5. # Contributor: Katrina L. Halliwell <rambaldi.kat.47@gmail.com>
  6.  
  7. pkgname=lighttable
  8. pkgver=0.5.2
  9. pkgrel=1
  10. pkgdesc="New interactive IDE that lets you modify running programs and embed anything from websites to games."
  11. url="http://www.lighttable.com/"
  12. license=('custom')
  13. depends=(nss libx11 libxrandr libpng gconf)
  14. options=(!strip)
  15. arch=('i686' 'x86_64')
  16.  
  17. source=(lighttable http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/$pkgver/LightTableLinux.tar.gz lighttable.desktop lighttable.png)
  18. md5sums=('5c3110a62216b2edd6b50b3b2cb0b4fa'
  19.          'e94ac5a7c87a4f6242fb236e6de84f83'
  20.          'a454708d725223d577c2d67d08300717'
  21.          'f8c055be2f047ff4aaffdd028f62f027')
  22.  
  23. if [[ "$CARCH" == "x86_64" ]]; then
  24.   source[1]=http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/$pkgver/LightTableLinux64.tar.gz
  25.   md5sums[1]='52a663c2bcd3c75587bc43c346cd7e07'
  26. fi
  27.  
  28. package() {
  29.   install -D -m755 lighttable "$pkgdir/usr/bin/lighttable"
  30.  
  31.   _destdir="$pkgdir/opt/LightTable"
  32.  
  33.   install -dm755 $_destdir
  34.   #rm "$srcdir/LightTable/debug.log"
  35.   mv $srcdir/LightTable/* $_destdir
  36.  
  37.   mkdir -p "${pkgdir}"/usr/share/{applications,pixmaps}
  38.   install -m644 "${startdir}"/lighttable.desktop "${pkgdir}/usr/share/applications/"
  39.   install -m644 "${startdir}"/lighttable.png "${pkgdir}"/usr/share/pixmaps/lighttable.png
  40.  
  41.  
  42.  
  43.   #for more info, https://github.com/Kodowa/Light-Table-Playground/issues/161
  44.   ln -s /usr/lib/libudev.so "$_destdir/libudev.so.0"
  45. }
clone this paste RAW Paste Data