4 pkgdesc="javascript vnc client"
6 url="http://kanaka.github.com/noVNC/"
10 source=($pkgname-$pkgver.tar.gz::http://github.com/kanaka/noVNC/tarball/master)
11 md5sums=('54ae848e2f8ba707bd7abc50b940c1e1')
14 cd $srcdir/kanaka-noVNC-*
15 make -C utils clean rebind.so
20 cd $srcdir/kanaka-noVNC-*
21 mkdir -p $pkgdir/usr/share/novnc $pkgdir/usr/share/doc/novnc $pkgdir/usr/bin
22 cp -a include utils images images/favicon.ico vnc.html vnc_auto.html \
23 $pkgdir/usr/share/novnc/
24 cp -a LICENSE.txt README.md $pkgdir/usr/share/doc/novnc
25 cat >$pkgdir/usr/bin/novnc <<EOF
28 cd /usr/share/novnc || exit 1
29 exec ./utils/launch.sh \$*
31 chmod 0755 $pkgdir/usr/bin/novnc