diff options
author | Jake | 2016-01-30 11:27:00 +0100 |
---|---|---|
committer | Jake | 2016-01-30 11:27:00 +0100 |
commit | 814cc4c25e213a145a20f0e40d38ef531879f356 (patch) | |
tree | fea7fddd4d1e15ac946117b5169922ca8a4d32a8 | |
download | aur-814cc4c25e213a145a20f0e40d38ef531879f356.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | qmake.patch | 24 | ||||
-rw-r--r-- | script-communicator.desktop | 11 |
4 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0725320a76b9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Sat Jan 30 09:43:13 UTC 2016 +pkgbase = script-communicator + pkgdesc = Scriptable terminal with Serial/TCP/UDP/SPI/CAN support + pkgver = 3_29 + pkgrel = 1 + url = http://sourceforge.net/projects/scriptcommunicator/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = qt5-tools + depends = qt5-script + depends = qt5-serialport + source = http://sourceforge.net/projects/scriptcommunicator/files/Source/ScriptCommunicator_3_29_source.zip + source = qmake.patch + source = script-communicator.desktop + md5sums = b77ae0b2dfdc1a7a8625b29be55925ea + md5sums = 126ac5abe605c069119f85d9fc0fa4c5 + md5sums = f1b6721b942570e9f5349acbef5992b0 + +pkgname = script-communicator + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d61d86b3089a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Jake <ja.ke@posteo.de> +pkgname=script-communicator +pkgver=3_29 +pkgrel=1 +pkgdesc="Scriptable terminal with Serial/TCP/UDP/SPI/CAN support" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/scriptcommunicator/" +license=('GPL3') +depends=('qt5-script' 'qt5-serialport') +makedepends=('qt5-tools') + +source=("http://sourceforge.net/projects/scriptcommunicator/files/Source/ScriptCommunicator_${pkgver}_source.zip" + "qmake.patch" + "$pkgname.desktop") +md5sums=('b77ae0b2dfdc1a7a8625b29be55925ea' + '126ac5abe605c069119f85d9fc0fa4c5' + 'f1b6721b942570e9f5349acbef5992b0') + + +prepare() { + cd "ScriptCommunicator_${pkgver}_source" + patch -i "$srcdir/qmake.patch" +} + +build() { + cd "ScriptCommunicator_${pkgver}_source" + qmake -o Makefile ScriptCommunicator.pro + make +} + + +package() { + install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + cd "ScriptCommunicator_${pkgver}_source" + install -Dm644 "images/main.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + + mkdir -p "$pkgdir/opt/$pkgname" + install -Dm755 "build/ScriptCommunicator" "$pkgdir/opt/$pkgname/" + mkdir -p "$pkgdir/usr/bin" + ln -s "/opt/$pkgname/ScriptCommunicator" "$pkgdir/usr/bin/$pkgname" + cp -r templates exampleScripts documentation "$pkgdir/opt/$pkgname/" +} diff --git a/qmake.patch b/qmake.patch new file mode 100644 index 000000000000..2b297c9d6495 --- /dev/null +++ b/qmake.patch @@ -0,0 +1,24 @@ +--- ScriptCommunicator.pro.orig 2016-01-08 22:15:31.243355050 +0100 ++++ ScriptCommunicator.pro 2016-01-08 22:16:27.679588796 +0100 +@@ -1,8 +1,8 @@ +-greaterThan(QT_MAJOR_VERSION, 4) { +- QT += widgets serialport +-} else { +- include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf) +-} ++DESTDIR = build ++OBJECTS_DIR = build/.obj ++MOC_DIR = build/.moc ++RCC_DIR = build/.rcc ++UI_DIR = build/.ui + + CONFIG += c++11 + +@@ -15,6 +15,7 @@ + QT += uitools + QT += network + QT += sql ++QT += widgets serialport + + unix{ + LIBS += -ldl diff --git a/script-communicator.desktop b/script-communicator.desktop new file mode 100644 index 000000000000..95550e69076c --- /dev/null +++ b/script-communicator.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=ScriptCommunicator +Comment=Scriptable terminal with Serial/TCP/UDP/SPI/CAN support +Exec=script-communicator +Icon=script-communicator +Path=/usr/bin +Terminal=false +StartupNotify=false +Categories=Application; |