summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Imreh2015-11-16 10:53:06 +0800
committerGergely Imreh2015-11-16 10:58:00 +0800
commit095c4675c3f6cea238871600f88157ef23d5d52e (patch)
tree889eab1891ea9de2cd34647257f2b555d4d1c234
parent618465c1d62325fc797106ec6198991e7a6c65d2 (diff)
downloadaur-095c4675c3f6cea238871600f88157ef23d5d52e.tar.gz
update to 1.8.16 and packaging changes
* bump version * include optdepends (thanks dbrgn) * remove directory referring to local pkgdir from package
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD9
2 files changed, 14 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ea678e40dc..6c1ff40fc59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,20 @@
pkgbase = particle-cli
pkgdesc = CLI tool for the Particle hardware platform
- pkgver = 1.8.15
+ pkgver = 1.8.16
pkgrel = 1
url = http://particle.io/
- arch = any
+ arch = i686
+ arch = x86_64
license = GPL
makedepends = npm
makedepends = git
depends = libusb
depends = nodejs
- noextract = particle-cli-1.8.15.tgz
- source = http://registry.npmjs.org/particle-cli/-/particle-cli-1.8.15.tgz
- sha256sums = fbacca2b8a87640bf88f14c999c7a9366f78d7754411ab936029dff556556a0d
+ optdepends = dfu-util: local flashing
+ optdepends = openssl: local flashing
+ noextract = particle-cli-1.8.16.tgz
+ source = http://registry.npmjs.org/particle-cli/-/particle-cli-1.8.16.tgz
+ sha256sums = c0ea70aa137b22dc95c838829ea1508b0540515ac6fa1f74cab598bbd3ecd5a9
pkgname = particle-cli
diff --git a/PKGBUILD b/PKGBUILD
index 24f62f7743d..23fa1bb4496 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,21 @@
pkgname=particle-cli
pkgdesc='CLI tool for the Particle hardware platform'
-pkgver=1.8.15
+pkgver=1.8.16
pkgrel=1
-arch=('any')
+arch=('i686' 'x86_64')
url='http://particle.io/'
license=('GPL')
depends=('libusb' 'nodejs')
makedepends=('npm' 'git')
+optdepends=('dfu-util: local flashing'
+ 'openssl: local flashing')
source=(http://registry.npmjs.org/$pkgname/-/${pkgname}-${pkgver}.tgz)
noextract=(${pkgname}-${pkgver}.tgz)
-sha256sums=('fbacca2b8a87640bf88f14c999c7a9366f78d7754411ab936029dff556556a0d')
+sha256sums=('c0ea70aa137b22dc95c838829ea1508b0540515ac6fa1f74cab598bbd3ecd5a9')
package() {
npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
rm -r "${pkgdir}/usr/etc"
+ rm `find "${pkgdir}/" -name '.deps'` -rf
}