# Maintainer: Gergely Imreh # Contributor: Gergely Imreh pkgname=resin-cli pkgdesc='Resin.io command line interface' pkgver=8.1.0 pkgrel=1 arch=('i686' 'x86_64') url='https://resin.io/' license=('APACHE') depends=('nodejs>=6.0.0') makedepends=('npm' 'python2') source=(http://registry.npmjs.org/$pkgname/-/${pkgname}-${pkgver}.tgz) noextract=(${pkgname}-${pkgver}.tgz) options=(!strip) optdepends=('python: resin-preload') optdepends_x86_64=('lib32-glibc: emulated builds') sha256sums=('c299f773060a3c06735d5282794f0d26b1f19d881c62f585972a07d936830207') package() { npm install --global --only=production --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz" }