# Maintainer: E-Hern Lee # Contributor: Jake # Contributor: Mohammadreza Abdollahzadeh # Contributor: Josia Roßkopf # Contributor: Jonas Heinrich # Contributor: Yen Chi Hsuan pkgname=nwjs-sdk-bin pkgver=0.68.1 pkgrel=1 pkgdesc="node-webkit is an app runtime based on Chromium and node.js. SDK release with DevTools" arch=("x86_64") url="https://nwjs.io/" license=("MIT") depends=("gtk3" "nss" "libxss") optdepends=( "nodejs: npm package support" "nw-gyp: native add-on build tool for node-webkit" ) provides=("nwjs-sdk") conflicts=("nwjs-sdk") source=("${pkgname}-${pkgver}.tar.gz::http://dl.nwjs.io/v${pkgver}/${pkgname%-bin}-v${pkgver}-linux-x64.tar.gz") sha512sums=('14980a851b3c2d72c8597a36fd89e307c9322c057689511ee5934d91a349d47fab87dcf7c1c25581b4e8405997ee8aab0f01b39acded414a149aa7c0bf417e70') package() { cd "${pkgname%-bin}-v${pkgver}-linux-x64" install -d "${pkgdir}/opt/${pkgname%-bin}" cp -dr * "${pkgdir}/opt/${pkgname%-bin}/" chmod -R 644 "${pkgdir}/opt/${pkgname%-bin}/" chmod 755 "${pkgdir}/opt/${pkgname%-bin}/"{,swiftshader,lib,locales,nw,chrome_crashpad_handler,nacl_helper} install -d "${pkgdir}/usr/bin" ln -s "/opt/${pkgname%-bin}/nw" "${pkgdir}/usr/bin/nw-sdk" }