summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Fiantaca2017-02-06 22:29:06 -0500
committerHenry Fiantaca2017-02-06 22:29:06 -0500
commit9e2819d605b03f2554c4faa744a34753f5780431 (patch)
tree6c0db68d2638f06f4123d9020086c1c04cd66666
downloadaur-9e2819d605b03f2554c4faa744a34753f5780431.tar.gz
Inital upload, version 1.5.2
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD47
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ccc65dd814
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = grip-wpirobotics-bin
+ pkgdesc = GRIP Computer Vision Engine, generates C++ and java code for opencv use in FRC robots
+ pkgver = 1.5.2
+ pkgrel = 1
+ url = http://wpiroboticsprojects.github.io/GRIP/#/
+ arch = x86_64
+ license = custom
+ depends = java-runtime
+ source = https://github.com/WPIRoboticsProjects/GRIP/releases/download/v1.5.2/grip-1.5.2-x64.deb
+ source = https://raw.githubusercontent.com/WPIRoboticsProjects/GRIP/master/LICENSE.txt
+ sha256sums = 3bacd7ee72b4fa0c0bbb613e3823d362a880f0d9d8132c136cdac57a6b49ee6c
+ sha256sums = ca4fbc73b15a3754fe97794157f7c2da90dc7df67f4e1989cf0bf6ded9e2f4ef
+
+pkgname = grip-wpirobotics-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4927eee7093
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Henry Fiantaca <hfiantaca@gmail.com>
+pkgname=grip-wpirobotics-bin
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="GRIP Computer Vision Engine, generates C++ and java code for opencv use in FRC robots"
+arch=(x86_64)
+url="http://wpiroboticsprojects.github.io/GRIP/#/"
+license=('custom')
+depends=(java-runtime)
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/WPIRoboticsProjects/GRIP/releases/download/v1.5.2/grip-1.5.2-x64.deb"
+ "https://raw.githubusercontent.com/WPIRoboticsProjects/GRIP/master/LICENSE.txt")
+sha256sums=("3bacd7ee72b4fa0c0bbb613e3823d362a880f0d9d8132c136cdac57a6b49ee6c"
+ "ca4fbc73b15a3754fe97794157f7c2da90dc7df67f4e1989cf0bf6ded9e2f4ef")
+
+prepare() {
+ mkdir -p "$srcdir"/grip_root
+ cd "$srcdir"/grip_root
+ tar -xf ../data.tar.xz
+}
+
+package() {
+ cd "$pkgdir"
+ cp -r "$srcdir"/grip_root/* .
+ mkdir -p usr/share/applications usr/bin usr/share/license/grip-wpirobotics-bin
+ cp "$srcdir"/LICENSE.txt usr/share/license/grip-wpirobotics-bin/LICENSE
+ ln -s /opt/GRIP/GRIP usr/bin/GRIP
+ cat >> usr/share/applications/GRIP.desktop << EOF
+[Desktop Entry]
+Name=GRIP
+Comment=GRIP
+Exec=/opt/GRIP/GRIP
+Icon=/opt/GRIP/GRIP.png
+Terminal=false
+Type=Application
+Categories=Development;
+EOF
+
+}