diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Feb 2 17:42:22 UTC 2019 +# Thu Feb 7 10:32:11 UTC 2019 pkgbase = particle-cli pkgdesc = CLI tool for the Particle hardware platform pkgver = 1.38.0 - pkgrel = 1 + pkgrel = 2 url = http://particle.io/ arch = any license = GPL @@ -3,7 +3,7 @@ pkgname=particle-cli pkgdesc='CLI tool for the Particle hardware platform' pkgver=1.38.0 -pkgrel=1 +pkgrel=2 arch=(any) url='http://particle.io/' license=('GPL') @@ -17,5 +17,7 @@ sha256sums=('1a23aa99862a072147aca99eaaab9f6ac6596f70e87f5a83a49fa1d75bb4341c') package() { npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz" + sed -i 's|, GROUP="plugdev"||g; s|, MODE="0666"||g' "${pkgdir}/usr/lib/node_modules/${pkgname}/assets/50-particle.rules" + install -D -m644 "${pkgdir}/usr/lib/node_modules/${pkgname}/assets/50-particle.rules" "${pkgdir}/etc/udev/rules.d/50-particle.rules" rm `find "${pkgdir}/" -name '.deps'` -rf } |