# 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.69.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=('643da21b7ecae64a0e59903b0882e25b082b5713c30652d06e8a217af045197aa0eb7324d672bc5befde2f5216bcf18b9096d17b82dfd619751bccfe8430e631') 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" }