summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD36
-rw-r--r--papilio-zap-ide.install17
-rwxr-xr-xzap5
-rw-r--r--zap.desktop9
-rw-r--r--zap.pngbin0 -> 47981 bytes
6 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..26329c73380
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = papilio-zap-ide
+ pkgdesc = ZPUino Arduino Papilio IDE is specially designed to get you up and running quickly with Soft Processors on the Papilio FPGA boards
+ pkgver = 2.3.0
+ pkgrel = 1
+ url = http://forum.gadgetfactory.net/index.php?/files/file/8-zap-zpuino-arduino-papilio-ide/
+ install = papilio-zap-ide.install
+ arch = x86_64
+ arch = i686
+ license = GPL
+ depends = java-runtime
+ options = !strip
+ source = zap-2.3.0-linux32.tgz::http://www.gadgetfactory.net/download/zap/zap-2.3.0-linux32.tgz
+ source = zap
+ source = zap.desktop
+ source = zap.png
+ md5sums = 0a368962003d8353bd1c2bffd7a553c3
+ md5sums = 68db64c3499e036948fdad012b93610b
+ md5sums = b508e3dcaaaee7fea7db42433e7d9ef2
+ md5sums = 9e36d33891d5e68d38ec55d1494499a5
+
+pkgname = papilio-zap-ide
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6450be073d7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Peter Ivanov <ivanovp@gmail.com>
+
+pkgname=papilio-zap-ide
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="ZPUino Arduino Papilio IDE is specially designed to get you up and running quickly with Soft Processors on the Papilio FPGA boards"
+arch=('x86_64' 'i686')
+url="http://forum.gadgetfactory.net/index.php?/files/file/8-zap-zpuino-arduino-papilio-ide/"
+license=('GPL')
+groups=()
+options=(!strip)
+depends=('java-runtime')
+source=('zap-2.3.0-linux32.tgz::http://www.gadgetfactory.net/download/zap/zap-2.3.0-linux32.tgz' 'zap' 'zap.desktop' 'zap.png')
+install=papilio-zap-ide.install
+md5sums=('0a368962003d8353bd1c2bffd7a553c3'
+ '68db64c3499e036948fdad012b93610b'
+ 'b508e3dcaaaee7fea7db42433e7d9ef2'
+ '9e36d33891d5e68d38ec55d1494499a5')
+
+build() {
+ echo "Nothing to build..."
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ mkdir -p $pkgdir/usr/share/papilio-zap-ide
+ cp -ax * $pkgdir/usr/share/papilio-zap-ide
+ if test "$CARCH" == x86_64; then
+ echo "64-bit serial library is used..."
+ cp -ax ./lib/librxtxSerial64.so $pkgdir/usr/share/papilio-zap-ide/lib/librxtxSerial.so
+ fi
+ cd "$srcdir"
+ install -D -m755 zap "${pkgdir}/usr/bin/zap"
+ install -D -m644 zap.desktop "${pkgdir}/usr/share/applications/zap.desktop"
+ install -D -m644 zap.png "${pkgdir}/usr/share/pixmaps/zap.png"
+}
diff --git a/papilio-zap-ide.install b/papilio-zap-ide.install
new file mode 100644
index 00000000000..aee1739aad1
--- /dev/null
+++ b/papilio-zap-ide.install
@@ -0,0 +1,17 @@
+post_install() {
+ xdg-icon-resource install --size 256 --novendor /usr/share/pixmaps/zap.png
+ echo "YOU MUST AGREE THE LICENSE:"
+ echo "http://forum.gadgetfactory.net/index.php?/files/download/8-zap-zpuino-arduino-papilio-ide/"
+ echo
+ echo "Don't forget to add yourself to the uucp and lock groups: gpasswd -a <user> uucp && gpasswd -a <user> lock (execute as root)"
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ xdg-icon-resource uninstall --size 256 zap
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/zap b/zap
new file mode 100755
index 00000000000..c11341581af
--- /dev/null
+++ b/zap
@@ -0,0 +1,5 @@
+#!/bin/sh
+#export PATH="/usr/share/papilio-zap-ide/hardware/tools/avr/bin:/usr/share/papilio-zap-ide/hardware/tools/g++_arm_none_eabi/bin:/usr/share/papilio-zap-ide/hardware/tools/zpu/bin:$PATH"
+cd /usr/share/papilio-zap-ide
+./zap
+
diff --git a/zap.desktop b/zap.desktop
new file mode 100644
index 00000000000..bf0e0347c24
--- /dev/null
+++ b/zap.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Papilio ZAP
+GenericName=Papilio ZAP IDE
+Comment=The open-source Arduino environment with Papilio support
+Exec=zap
+Icon=zap
+Type=Application
+Terminal=false
+Categories=Development;IDE;Qt;KDE;;Application;
diff --git a/zap.png b/zap.png
new file mode 100644
index 00000000000..ea3ac81b453
--- /dev/null
+++ b/zap.png
Binary files differ