summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Devaine2017-06-30 22:12:41 +0200
committerMax Devaine2017-06-30 22:12:41 +0200
commit47da9d5fc508173d7aa42abae1bf2ecdbc98d93d (patch)
tree9fef1b8153659294d5a16538694de5b008fb8775
downloadaur-tightvnc-jviewer.tar.gz
first release
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
-rw-r--r--tightvnc-jviewer3
-rw-r--r--tightvnc-jviewer-nossh2
4 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..952d5aa92e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Fri Jun 30 20:12:12 UTC 2017
+pkgbase = tightvnc-jviewer
+ pkgdesc = TightVNC java viewer
+ pkgver = 2.8.3
+ pkgrel = 1
+ url = http://www.tightvnc.com
+ arch = i686
+ arch = x86_64
+ license = GPL2 + trilead-ssh2
+ depends = java-environment
+ source = tvnjviewer-2.8.3-bin-gnugpl.zip::https://www.tightvnc.com/download/2.8.3/tvnjviewer-2.8.3-bin-gnugpl.zip
+ source = tightvnc-jviewer
+ source = tightvnc-jviewer-nossh
+ md5sums = 7a862e325b82a53f7f86f39a7eb7237a
+ md5sums = 2a8e2611a5e976444ec6ebcc7ebabd6f
+ md5sums = 51f9bcd539864f2cba83fd32bc6d075a
+
+pkgname = tightvnc-jviewer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..34414e93b09
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Max Devaine <maxdevaine@gmail.com>
+
+pkgname=tightvnc-jviewer
+pkgver=2.8.3
+pkgrel=1
+pkgdesc='TightVNC java viewer'
+arch=(i686 x86_64)
+url='http://www.tightvnc.com'
+license=('GPL2 + trilead-ssh2')
+depends=('java-environment')
+conflicts=('')
+source=("tvnjviewer-${pkgver}-bin-gnugpl.zip::https://www.tightvnc.com/download/${pkgver}/tvnjviewer-${pkgver}-bin-gnugpl.zip"
+ "tightvnc-jviewer"
+ "tightvnc-jviewer-nossh")
+md5sums=('7a862e325b82a53f7f86f39a7eb7237a'
+ '2a8e2611a5e976444ec6ebcc7ebabd6f'
+ '51f9bcd539864f2cba83fd32bc6d075a')
+
+ package() {
+ mkdir -p $pkgdir/opt/tightvnc-jviewer
+ mkdir -p $pkgdir/usr/bin
+ cp -r $srcdir/nossh $pkgdir/opt/tightvnc-jviewer/
+ cp $srcdir/*.txt $pkgdir/opt/tightvnc-jviewer/
+ install -m644 $srcdir/tightvnc-jviewer.jar $pkgdir/opt/tightvnc-jviewer/
+ install -m755 $srcdir/tightvnc-jviewer $pkgdir/opt/tightvnc-jviewer/
+ install -m755 $srcdir/tightvnc-jviewer-nossh $pkgdir/opt/tightvnc-jviewer/
+ cd $pkgdir
+ ln -s /opt/tightvnc-jviewer/tightvnc-jviewer $pkgdir/usr/bin/tightvnc-jviewer
+ ln -s /opt/tightvnc-jviewer/tightvnc-jviewer-nossh $pkgdir/usr/bin/tightvnc-jviewer-nossh
+}
diff --git a/tightvnc-jviewer b/tightvnc-jviewer
new file mode 100644
index 00000000000..e25b4a28662
--- /dev/null
+++ b/tightvnc-jviewer
@@ -0,0 +1,3 @@
+#!/bin/bash
+java -jar /opt/tightvnc-jviewer/tightvnc-jviewer.jar
+
diff --git a/tightvnc-jviewer-nossh b/tightvnc-jviewer-nossh
new file mode 100644
index 00000000000..179120d503c
--- /dev/null
+++ b/tightvnc-jviewer-nossh
@@ -0,0 +1,2 @@
+#!/bin/bash
+java -jar /opt/tightvnc-jviewer/nossh/tightvnc-jviewer.jar