summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fuhry2017-04-17 13:07:58 -0400
committerDan Fuhry2017-04-17 13:11:48 -0400
commit681e091a57f6f289389bc37ef6e374a357cfdda5 (patch)
treeb02274e6a45ca7490af1919a794a7fd7f631aff2
downloadaur-681e091a57f6f289389bc37ef6e374a357cfdda5.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD38
-rwxr-xr-xtunerstudio.desktop13
-rw-r--r--tunerstudio.sh3
5 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..155f8a3a31f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = tunerstudio
+ pkgver = 3.0.18
+ pkgrel = 1
+ arch = any
+ license = proprietary
+ makedepends = imagemagick
+ depends = java-runtime
+ source = http://www.tunerstudio.com/downloads2/TunerStudioMS_v3.0.18.tar.gz
+ source = tunerstudio.sh
+ source = tunerstudio.desktop
+ sha256sums = 9ad92c9b88ee5dbd4379f709298f6d0a4b6a5136ef0b3d3ceb38280f5e8f04bb
+ sha256sums = e787c1df189a86b54c16ce6a4e49fcecfe91dbf4f58ee0c3d7887de1ac1fe418
+ sha256sums = a493f95c6b311c9a3be3cdd6a06462f9bdd9c10905e73825a085339abd3eee6b
+
+pkgname = tunerstudio
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..709b7003a18
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+TunerStudioMS_*.tar.gz
+*.pkg.tar.xz
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42b8cdd9626
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Dan Fuhry <dan@fuhry.com>
+pkgname=tunerstudio
+pkgver=3.0.18
+pkgrel=1
+arch=(any)
+depends=(java-runtime)
+makedepends=(imagemagick)
+license=(proprietary)
+source=(http://www.tunerstudio.com/downloads2/TunerStudioMS_v${pkgver}.tar.gz
+ tunerstudio.sh
+ tunerstudio.desktop
+ )
+
+build()
+{
+ convert "${srcdir}/TunerStudioMS/TSicon.ico" -alpha set "${srcdir}/TunerStudioMS/tunerstudio.png"
+}
+
+package()
+{
+ for icon in ${srcdir}/TunerStudioMS/tunerstudio-*.png; do
+ size=$(identify -format '%wx%h' "${icon}")
+ mkdir -p "${pkgdir}/usr/share/icons/hicolor/${size}/apps"
+ install -m644 "$icon" "${pkgdir}/usr/share/icons/hicolor/${size}/apps/${pkgname}.png"
+ rm -f "$icon"
+ done
+ mkdir -p "${pkgdir}/usr/lib"
+ cp -a "${srcdir}/TunerStudioMS" "${pkgdir}/usr/lib/tunerstudio"
+
+ mkdir -p "${pkgdir}/usr/bin"
+ install -m755 "${srcdir}/tunerstudio.sh" "${pkgdir}/usr/bin/tunerstudio"
+
+ mkdir -p "${pkgdir}/usr/share/applications"
+ install -m644 "${srcdir}/tunerstudio.desktop" "${pkgdir}/usr/share/applications/tunerstudio.desktop"
+}
+sha256sums=('9ad92c9b88ee5dbd4379f709298f6d0a4b6a5136ef0b3d3ceb38280f5e8f04bb'
+ 'e787c1df189a86b54c16ce6a4e49fcecfe91dbf4f58ee0c3d7887de1ac1fe418'
+ 'a493f95c6b311c9a3be3cdd6a06462f9bdd9c10905e73825a085339abd3eee6b')
diff --git a/tunerstudio.desktop b/tunerstudio.desktop
new file mode 100755
index 00000000000..09cd129dee5
--- /dev/null
+++ b/tunerstudio.desktop
@@ -0,0 +1,13 @@
+#!/usr/bin/xdg-open
+
+[Desktop Entry]
+Version=1.0
+Name=TunerStudio MS
+GenericName=ECU Tuning Software
+Comment=Analyze and program Megasquirt ECUs
+Exec=/usr/bin/tunerstudio
+Icon=tunerstudio
+Type=Application
+StartupNotify=false
+Categories=Programming;
+Keywords=engine;efi;tune;
diff --git a/tunerstudio.sh b/tunerstudio.sh
new file mode 100644
index 00000000000..06def464cfd
--- /dev/null
+++ b/tunerstudio.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec /usr/lib/tunerstudio/TunerStudio.sh