View difference between Paste ID: 0n0jk6Fb and k2VLxQEQ
SHOW: | | - or go back to the newest paste.
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-
pkgver=0.5.0
7+
8-
pkgrel=2
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-
source=(lighttable https://d35ac8ww5dfjyg.cloudfront.net/playground/bins/0.5.0/LightTableLinux.tar.gz lighttable.desktop lighttable.png)
16+
17
source=(lighttable http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/$pkgver/LightTableLinux.tar.gz lighttable.desktop lighttable.png)
18-
         'b617a4c1305585efff9e14c1739976f7'
18+
19
         'e94ac5a7c87a4f6242fb236e6de84f83'
20
         'a454708d725223d577c2d67d08300717'
21
         'f8c055be2f047ff4aaffdd028f62f027')
22
23-
  source[1]=http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/0.5.0/LightTableLinux64.tar.gz
23+
24-
  md5sums[1]='8f3b5facb3108e85df2e5105015dcb31'
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-
  rm "$srcdir/LightTable/debug.log"
33+
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
}