summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Imreh2015-10-31 19:07:20 +0800
committerGergely Imreh2015-10-31 19:07:20 +0800
commit618465c1d62325fc797106ec6198991e7a6c65d2 (patch)
treef36c45df64aa0d7044fe09122fc29bdb44f0d0ac
downloadaur-618465c1d62325fc797106ec6198991e7a6c65d2.tar.gz
Adding new package
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD19
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ea678e40dc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = particle-cli
+ pkgdesc = CLI tool for the Particle hardware platform
+ pkgver = 1.8.15
+ pkgrel = 1
+ url = http://particle.io/
+ arch = any
+ 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
+
+pkgname = particle-cli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..24f62f7743d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Contributor: Gergely Imreh <imrehg gmail com>
+
+pkgname=particle-cli
+pkgdesc='CLI tool for the Particle hardware platform'
+pkgver=1.8.15
+pkgrel=1
+arch=('any')
+url='http://particle.io/'
+license=('GPL')
+depends=('libusb' 'nodejs')
+makedepends=('npm' 'git')
+source=(http://registry.npmjs.org/$pkgname/-/${pkgname}-${pkgver}.tgz)
+noextract=(${pkgname}-${pkgver}.tgz)
+sha256sums=('fbacca2b8a87640bf88f14c999c7a9366f78d7754411ab936029dff556556a0d')
+
+package() {
+ npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
+ rm -r "${pkgdir}/usr/etc"
+}