# Maintainer: Gergely Imreh # Contributor: Matthew McGinn pkgname=balena-cli pkgdesc='balena.io command line interface' pkgver=10.17.2 pkgrel=1 arch=('i686' 'x86_64') url='https://balena.io/' _github_url="https://github.com/balena-io/balena-cli" 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: balena-preload') optdepends_x86_64=('lib32-glibc: emulated builds') replaces=('resin-cli') sha256sums=('e1b320304997132f8f1266664308ce2e92e2af6454211fdb2c9d0584bf86573a') package() { npm install --global --only=production --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz" }