blob: 3a8c37faf21ec42653c8ed8fa3139b4ec43e01ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Nathan Robinson <nrobinson2000 at me dot com>
pkgname=neopo-git
_gitname="neopo"
pkgver=r373.e649016
pkgrel=1
pkgdesc="A lightweight solution for local Particle development."
arch=("x86_64" "aarch64" "armv7h")
url="https://github.com/nrobinson2000/neopo"
license=("custom")
provides=("neopo")
source=("git+https://github.com/nrobinson2000/neopo.git"
"git+https://github.com/nrobinson2000/particle-cli-completion")
md5sums=('SKIP'
'SKIP')
makedepends=("python-setuptools")
depends=("python" "vim" "git" "perl-archive-zip" "libusb" "jq")
optdepends=("visual-studio-code-bin: Particle Workbench IDE"
"bash-completion: Bash completion")
optdepends_x86_64=("lib32-glibc: gcc-arm 5.3.1 support")
optdepends_aarch64=("dfu-util: flash devices with DFU"
"openocd-git: support for debugging")
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
# Particle completion script
install -Dm 644 particle-cli-completion/particle \
"${pkgdir}/usr/share/bash-completion/completions/particle"
# Neopo pip package
cd $_gitname
python setup.py install --root="${pkgdir}/" --optimize=1
}
|