diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 22 insertions, 21 deletions
@@ -2,7 +2,7 @@ pkgbase=webos-sdk pkgname=('webos-cli' 'webos-emulator' 'webos-ide') -pkgver=5.0.0 +pkgver=6.0.1 pkgrel=1 arch=('x86_64') url='http://webostv.developer.lge.com/sdk/installation/' @@ -10,17 +10,17 @@ url='http://webostv.developer.lge.com/sdk/installation/' license=('custom:LG Software Development Kit License Agreement' 'APACHE') makedepends=('unzip') source=( - 'local:///webOS SDK TV Installer linux64 full.zip' + 'local:///webOS_SDK_TV_Installer_linux64_full.zip' 'cli.patch' 'emulator.patch' - 'webOS TV Emulator v5.0.0.desktop' + 'webOS TV Emulator v6.0.0.desktop' 'webOSIDE TV.desktop' 'ide-launcher.sh' ) sha512sums=('SKIP' - 'b0962e9dff626417e217acae167bb800654c0250eff5ce3773192523b3dd469c185dc54f0c1fcfdd755d74cbb64333d57f786fbf5b63a13da28d17b9e768102e' - '058f998a080ab86d86b0802f13d50a5dbb40b878e85ec38183b8740926acc2940d274ad09e095d3328344a6f07f880f63b1e5e436669d719b7d9f38e0392d9e3' - '247615575ab5811a29a639b190e05c6fb267c5f7ca966c0ba040faf7e8a5c62413655b69e5fae355fc4ee440e305c09f9c9597765eb4b43aef0235a10e53c07a' + 'd2587eb95877c20ad37eb43147c4ce8538d9d3061b2b4b4ce5118a27880cbafcba8c3c0268865f47510f8a85b7d50a62e9978714e1ace78d8ec79862b5903d7b' + '7a7128a88ce824a7e4afb8b6590002cbb58655db8389b4c7535ef3645edae1f0c84ca628a86f0663a44ee96c6e448f1f4a5f53545ece3ad36115662ca6e029c3' + 'd71730e1463e08ac018c5d4782f36df9d6b93decfe823441e9836b51443a4c9ef473f3be931febc72c9c875539b5f79a1ca90a5539585c5f7067cc144e173cb4' '60655118d3880b07ea19af1a316ecfc4b649cdd2b9672db5c8ce5c32cb246b8ff3cc4ec82b176b042c3622f3897e6702e8e30c060576869b826f25d2d5a472f1' '62d6de217f9a02deda2b945793a9a4df56264688c32406e5962336b8c4a00d74d84dfd14f86a8651d1ffc4cccecf50b6f3e3ead34bc9033eea27b60f2643568f') options=('staticlibs') @@ -36,10 +36,10 @@ package_webos-cli() { cd ../ cp -dr --no-preserve='ownership' CLI/LICENSE.txt "${pkgdir}"/usr/share/licenses/webos-sdk/ cp -dr --no-preserve='ownership' CLI "${pkgdir}"/usr/share/webOS_TV_SDK/ - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/x86_64/node - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/i686/node + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/node chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-device-info + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-extend-dev chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-generate chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-inspect chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-install @@ -50,6 +50,7 @@ package_webos-cli() { chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/CLI/bin/ares-setup-device ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares "${pkgdir}"/usr/bin/ares ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares-device-info "${pkgdir}"/usr/bin/ares-device-info + ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares-extend-dev "${pkgdir}"/usr/bin/ares-extend-dev ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares-generate "${pkgdir}"/usr/bin/ares-generate ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares-inspect "${pkgdir}"/usr/bin/ares-inspect ln -sf /usr/share/webOS_TV_SDK/CLI/bin/ares-install "${pkgdir}"/usr/bin/ares-install @@ -62,25 +63,25 @@ package_webos-cli() { package_webos-emulator() { pkgdesc='LG webOS Emulator' - depends=('virtualbox' 'webos-cli' 'java') + depends=('virtualbox' 'webos-cli' 'java-runtime') - install -dm 755 "${pkgdir}"/usr/share/{webOS_TV_SDK/Emulator/v5.0.0,applications,pixmaps} - install -dm 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/Logs # For virtualbox - unzip -o webOS_SDK/Emulator_tv_v5.0.0.zip + install -dm 755 "${pkgdir}"/usr/share/{webOS_TV_SDK/Emulator/v"${pkgver}",applications,pixmaps} + install -dm 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/Logs # For virtualbox + unzip -o webOS_SDK/Emulator_tv_v"${pkgver}".zip cd Emulator patch --strip=1 --input="../emulator.patch" cd ../ - cp -dr --no-preserve='ownership' Emulator/v5.0.0/ "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/ + cp -dr --no-preserve='ownership' Emulator/v"${pkgver}"/ "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/ # Virtualbox Image won't run else it has r/w permissions - chmod 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/LG_webOS_TV_Emulator.vbox - chmod 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/LG_webOS_TV_Emulator.vmdk - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/AppManager.sh - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/LG_webOS_TV_Emulator.sh - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/vm_register.sh - chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v5.0.0/vm_remove.sh + chmod 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/LG_webOS_TV_Emulator.vbox + chmod 777 "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/LG_webOS_TV_Emulator.vmdk + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/AppManager.sh + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/LG_webOS_TV_Emulator.sh + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/vm_register.sh + chmod +x "${pkgdir}"/usr/share/webOS_TV_SDK/Emulator/v"${pkgver}"/vm_remove.sh # Add Application entry for Emulator - cp --no-preserve='ownership' 'webOS TV Emulator v5.0.0.desktop' "${pkgdir}"/usr/share/applications/ - cp --no-preserve='ownership' Emulator/v5.0.0/DTVEmulator.png "${pkgdir}"/usr/share/pixmaps/ + cp --no-preserve='ownership' 'webOS TV Emulator v6.0.0.desktop' "${pkgdir}"/usr/share/applications/ + cp --no-preserve='ownership' Emulator/v6.0.0/DTVEmulator.png "${pkgdir}"/usr/share/pixmaps/ # TODD: On remove run vm_remove.sh } |