# Maintainer: Jake # Contributor: Mohammadreza Abdollahzadeh # Contributor: Josia Roßkopf # Contributor: Jonas Heinrich # Contributor: Yen Chi Hsuan pkgname=nwjs-bin pkgver=0.44.6 pkgrel=1 pkgdesc="An app runtime based on Chromium and node.js." 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" "node-webkit") replaces=("node-webkit") conflicts=("nwjs" "node-webkit") source=("${pkgname}-${pkgver}.tar.gz::http://dl.nwjs.io/v${pkgver}/${pkgname%-bin}-v${pkgver}-linux-x64.tar.gz") sha256sums=('3a3851ad9eee4f58a9aa5773537e657e7954785523641889ef6435b6c861cbfc') package() { cd "${pkgname%-bin}-v${pkgver}-linux-x64" install -d "${pkgdir}/opt/${pkgname%-bin}" install -d "${pkgdir}/usr/bin" cp -a * "${pkgdir}/opt/${pkgname%-bin}/" ln -s "/opt/${pkgname%-bin}/nw" "${pkgdir}/usr/bin/nw" } # vim:set ts=2 sw=2 et: