diff options
author | taotieren | 2021-05-11 09:24:36 +0800 |
---|---|---|
committer | taotieren | 2021-05-11 09:24:36 +0800 |
commit | a35aa5b1a7d0bf4eaa8368586ad39849efb34984 (patch) | |
tree | ea145fda5790c049ed1323dc66334da5fc1bef32 | |
parent | 53718e4debab15f00ecfce6b0e6b94609d4c4f4b (diff) | |
download | aur-a35aa5b1a7d0bf4eaa8368586ad39849efb34984.tar.gz |
update PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 34 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = nucleistudioide pkgdesc = Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。 pkgver = 202102 - pkgrel = 4 + pkgrel = 5 url = https://www.nucleisys.com/download.php arch = x86_64 license = unknow @@ -2,7 +2,7 @@ pkgname=nucleistudioide pkgver=202102 -pkgrel=4 +pkgrel=5 pkgdesc="Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。" arch=("x86_64") makedepends=() @@ -29,9 +29,39 @@ package() { #!/bin/sh /opt/nuclei/NucleiStudio/NucleiStudio "\$@" EOF - install -dm755 "${pkgdir}/etc/udev/rules.d/" - ln -sf "/opt/nuclei/NucleiStudio/toolchain/openocd/contrib/60-openocd.rules" "${pkgdir}/etc/udev/rules.d/99-openocd.rules" + install -Dm644 /dev/stdin "${pkgdir}/etc/udev/rules.d/99-nuclei.rules" <<EOF +# Copy this file to /etc/udev/rules.d/ +# If rules fail to reload automatically, you can refresh udev rules +# with the command "udevadm control --reload" +# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed. +# See http://openocd.org/ for more details. +# +# This file is available under the GNU General Public License v2.0 + +ACTION!="add|change", GOTO="nuclei_rules_end" + +#SUBSYSTEM=="gpio", MODE="0660", GROUP="plugdev", TAG+="uaccess" + +SUBSYSTEM!="usb|tty|hidraw", GOTO="nuclei_rules_end" + +# [GNU MCU Eclipse] ----------------------------------------------------------- +# To simplify access, the access rights were changed from: +# MODE="660", GROUP="plugdev", TAG+="uaccess" +# to: +# MODE="666" +# ----------------------------------------------------------------------------- + +# Please keep this list sorted by VID:PID + +# nuclei +SUBSYSTEM=="usb", ATTR{idVendor}=="0403", +ATTR{idProduct}=="6010", MODE="666", GROUP="plugdev" +SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", +ATTRS{idProduct}=="6010", MODE="666", GROUP="plugdev" + +LABEL="nuclei_rules_end" +EOF msg2 'Installing desktop shortcut' install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/${pkgname}.desktop" <<EOF |