summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-05-10 12:51:57 +0800
committertaotieren2021-05-10 12:51:57 +0800
commit6978980f48a98be5db297c4644b5f3ae45c3543f (patch)
tree617601e02cbae5b55e5d7598f1544cd268ad2398
downloadaur-6978980f48a98be5db297c4644b5f3ae45c3543f.tar.gz
Update Nuclei Studio IDE 202102
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore10
-rw-r--r--PKGBUILD54
3 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b47d7a7f323
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = nucleistudioide
+ pkgdesc = Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,继承了Eclipse IDE 平台的各种优势。
+ pkgver = 202102
+ pkgrel = 1
+ url = https://www.nucleisys.com/download.php
+ arch = x86_64
+ license = Commercial
+ makedepends = xdg-user-dirs
+ makedepends = imagemagick
+ depends = java-runtime
+ depends = jlink-software-and-documentation
+ depends = ncurses5-compat-libs
+ depends = glibc
+ depends = libusb
+ options = !strip
+ source = https://www.nucleisys.com/upload/files/nucleistudio/NucleiStudio_IDE_202102-lin64.tgz
+ sha256sums = a005671317725f33e177d2ba9272cd77e0c04ef3d28c7cf8de4565c3f83b651e
+
+pkgname = nucleistudioide
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f9ebef5657c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+src
+pkg
+*.deb
+*.rpm
+*.zip
+*.tgz
+*.pkg.tar.xz
+*.pkg.tar.zst
+*.log
+*.png
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..07a8a7094a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: taotieren <admin@taotieren.com>
+
+pkgname=nucleistudioide
+pkgver=202102
+pkgrel=1
+pkgdesc="Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,继承了Eclipse IDE 平台的各种优势。"
+arch=("x86_64")
+makedepends=('xdg-user-dirs' 'imagemagick')
+depends=('java-runtime' 'jlink-software-and-documentation' 'ncurses5-compat-libs' 'glibc' 'libusb')
+optdepends=()
+conflicts=()
+url="https://www.nucleisys.com/download.php"
+license=('Commercial')
+options=(!strip)
+
+source=("https://www.nucleisys.com/upload/files/nucleistudio/NucleiStudio_IDE_202102-lin64.tgz")
+sha256sums=('a005671317725f33e177d2ba9272cd77e0c04ef3d28c7cf8de4565c3f83b651e')
+
+package() {
+ cd "$srcdir"
+
+ msg2 'Installing Nuclei Studio IDE'
+ install -d -m755 "${pkgdir}/opt/nuclei"
+ tar zxf "NucleiStudio_IDE_${pkgver}-lin64.tgz"
+ mv "${srcdir}/NucleiStudio_IDE_${pkgver}/NucleiStudio" "${pkgdir}/opt/nuclei"
+
+ msg2 'Instalation of binary file'
+ install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<END
+#!/bin/sh
+/opt/nuclei/NucleiStudio/NucleiStudio "\$@"
+END
+
+ msg2 'Installing desktop shortcut'
+ install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/${pkgname}.desktop" <<END
+[Desktop Entry]
+Name=NucleiStudioIDE
+Comment=NucleiStudioIDE
+GenericName=NucleiStudioIDE
+Exec=env GDK_BACKEND=x11 NucleiStudio %F
+Icon=
+Path=/opt/nuclei/NucleiStudio/
+Terminal=false
+StartupNotify=true
+Type=Application
+Categories=Development
+END
+
+}
+
+#
+# makepkg --printsrcinfo > .SRCINFO
+#
+
+# vim: set ts=8 sw=8 tw=0 noet: