summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302017-03-18 13:02:25 +0100
committerM0Rf302017-03-18 13:02:25 +0100
commit5cd96bb8e3216a3a02f49a047e869e84c54aab8f (patch)
treefcb09293c14dd20bde3e7332fdde6b7c8263e3cd
downloadaur-5cd96bb8e3216a3a02f49a047e869e84c54aab8f.tar.gz
first commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD38
-rw-r--r--zerynth-studio.desktop8
-rw-r--r--zerynth-studio.sh3
4 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f0b364fd861
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sat Mar 18 12:02:00 UTC 2017
+pkgbase = zerynth-studio
+ pkgdesc = A powerful IDE for embedded programming in Python that enables the IoT
+ pkgver = 2
+ pkgrel = 1
+ url = https://www.zerynth.com/zerynth-studio/
+ arch = x86_64
+ license = COMMERCIAL
+ source = http://download.zerynth.com/installer/zerynth.tar.xz
+ source = zerynth-studio.sh
+ source = zerynth-studio.desktop
+ md5sums = SKIP
+ md5sums = 566bd15aa6acedd409673ab634ab1148
+ md5sums = 6cc82b387ddbee922b8e246efa5a6b97
+
+pkgname = zerynth-studio
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dcc1d6b8017
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: M0Rf30
+
+pkgname=zerynth-studio
+pkgver=2
+pkgrel=1
+pkgdesc="A powerful IDE for embedded programming in Python that enables the IoT"
+arch=('x86_64')
+url="https://www.zerynth.com/zerynth-studio/"
+license=('COMMERCIAL')
+depends=()
+optdepends=()
+source=("http://download.zerynth.com/installer/zerynth.tar.xz"
+ "$pkgname.sh"
+ "$pkgname.desktop")
+
+package() {
+ cd "$srcdir"
+ rm zerynth.tar.xz
+
+ install -D "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ for _i in 36 48 192; do
+ install -Dm644 img/android-icon-${_i}x${_i}.png \
+ "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/$pkgname.png"
+ done
+
+ install -d "$pkgdir/opt/zerynth-studio"
+ rm $pkgname.{sh,desktop}
+ rm -r xz/{windows64,mac}
+ cp -r * "$pkgdir/opt/$pkgname"
+ chmod +x "$pkgdir/opt/$pkgname/zerynth"
+ chmod +44 -R "$pkgdir/opt/$pkgname/"
+}
+
+md5sums=('SKIP'
+ '566bd15aa6acedd409673ab634ab1148'
+ '6cc82b387ddbee922b8e246efa5a6b97')
diff --git a/zerynth-studio.desktop b/zerynth-studio.desktop
new file mode 100644
index 00000000000..4ca89ab66ad
--- /dev/null
+++ b/zerynth-studio.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Zerynth Studio
+Comment=A powerful IDE for embedded programming
+Exec=zerynth-studio %U
+Icon=zerynth-studio
+StartupNotify=false
+Categories=Development;IDE;
+Type=Application
diff --git a/zerynth-studio.sh b/zerynth-studio.sh
new file mode 100644
index 00000000000..924ee1b9805
--- /dev/null
+++ b/zerynth-studio.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/zerynth-studio
+./zerynth