Created
January 8, 2014 21:08
-
-
Save anonymous/8324698 to your computer and use it in GitHub Desktop.
lighttable 0.6 pkgbuild
just hacked together not really tested too well
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Jonathan Ryan <jryan@curious-computing.com> | |
# Maintainer: Tony Sokhon <tonyskn@gmail.com> | |
# Contributor: Ebubekir KARUL <ebubekirkarul@yandex.com> | |
# Contributor: Gaurish Sharma <contact@gaurishsharma.com> | |
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> | |
# Contributor: Katrina L. Halliwell <rambaldi.kat.47@gmail.com> | |
pkgname=lighttable | |
pkgver=0.6.0 | |
pkgrel=2 | |
pkgdesc="New interactive IDE that lets you modify running programs and embed anything from websites to games." | |
url="http://www.lighttable.com/" | |
license=('GPL3') | |
depends=(nss libx11 libxrandr libpng gconf) | |
options=(!strip) | |
arch=('i686' 'x86_64') | |
source=(lighttable http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/$pkgver/LightTableLinux.tar.gz lighttable.desktop lighttable.png) | |
md5sums=('e772b3547fdc3a6e32f81e7303422fd1' | |
'6565f599b7760f0f7dd2d186d9cc6d17' | |
'a454708d725223d577c2d67d08300717' | |
'f8c055be2f047ff4aaffdd028f62f027') | |
if [[ "$CARCH" == "x86_64" ]]; then | |
source[1]=http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/$pkgver/LightTableLinux64.tar.gz | |
md5sums[1]='12da99c02687c136c6281e8adcdfbed2' | |
fi | |
package() { | |
install -D -m755 lighttable "$pkgdir/usr/bin/lighttable" | |
_destdir="$pkgdir/opt/LightTable" | |
install -dm755 $_destdir | |
#rm "$srcdir/LightTable/debug.log" | |
mv $srcdir/LightTable/* $_destdir | |
mkdir -p "${pkgdir}"/usr/share/{applications,pixmaps} | |
install -m644 "${startdir}"/lighttable.desktop "${pkgdir}/usr/share/applications/" | |
install -m644 "${startdir}"/lighttable.png "${pkgdir}"/usr/share/pixmaps/lighttable.png | |
#for more info, https://github.com/Kodowa/Light-Table-Playground/issues/161 | |
ln -s /usr/lib/libudev.so "$_destdir/libudev.so.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment