summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2015-06-13 17:59:24 +0200
committerMuflone2015-06-13 17:59:24 +0200
commitc6071103395c0b53d01f6d72f4719b4e5b72df9e (patch)
tree32e5187fec1ef2d0e47eb8d687b4044815087f3d
downloadaur-c6071103395c0b53d01f6d72f4719b4e5b72df9e.tar.gz
Initial import
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD47
-rw-r--r--ultravnc-viewer13
-rw-r--r--ultravnc-viewer-16.pngbin0 -> 785 bytes
-rw-r--r--ultravnc-viewer-24.pngbin0 -> 1512 bytes
-rw-r--r--ultravnc-viewer-256.pngbin0 -> 36742 bytes
-rw-r--r--ultravnc-viewer-32.pngbin0 -> 2320 bytes
-rw-r--r--ultravnc-viewer-48.pngbin0 -> 4384 bytes
-rw-r--r--ultravnc-viewer-listen.desktop7
-rw-r--r--ultravnc-viewer.desktop7
-rw-r--r--ultravnc-viewer.install11
11 files changed, 117 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a3041c9aed6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = ultravnc-viewer
+ pkgdesc = A powerful VNC Client with a lot of features, compatible with Windows' UltraVNC servers
+ pkgver = 1.2.0.5
+ pkgrel = 1
+ url = http://www.uvnc.com
+ install = ultravnc-viewer.install
+ arch = any
+ license = GPL
+ makedepends = unzip
+ depends = wine
+ depends = gtk-update-icon-cache
+ source = http://www.uvnc.eu/download/1205/Uvnc_1205_bin.zip
+ source = ultravnc-viewer
+ source = ultravnc-viewer-16.png
+ source = ultravnc-viewer-24.png
+ source = ultravnc-viewer-32.png
+ source = ultravnc-viewer-48.png
+ source = ultravnc-viewer-256.png
+ source = ultravnc-viewer.desktop
+ source = ultravnc-viewer-listen.desktop
+ sha256sums = b1760a91ca0d53777e65942185f94c5e0a3a5c7f20cb5fd84c2503f2d12d039e
+ sha256sums = 1738d173c1cb89e46207c70fda6a36b7eeea9ba31b469a0cce10bbd9e8deb9b0
+ sha256sums = 5386feaf65fff389db4e4e30950f97d64803815b1e1a219d45bf41c2bde45e21
+ sha256sums = 098876231f8006bb89fc54986175ec6d938fae2c9e4a6dafe9b5c9d36f7fb3a2
+ sha256sums = 48025bb333be1ab9ebf875ced00d98b5701bbd81bad361d34712bc00b2e3c0df
+ sha256sums = 26b29f4a99cc40e3c119eae0f3ae9195d41f57cb2377f1add3e4c771f752aaa2
+ sha256sums = 1106710eab5b5603c15a1c216ad181e60110e8dc17f6442985e24f631b6f5f1b
+ sha256sums = c2a3cb12b9fdbd06fc9faf9907a591d7988233dd5e0046ccba625f5f8b3b367d
+ sha256sums = 6eefe94d1dacc0ca414a1e2ff5cc0fb2c272d3743b39240247000e5d03e6d9f2
+
+pkgname = ultravnc-viewer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..be67ee25823
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=ultravnc-viewer
+pkgver=1.2.0.5
+_pkgver=${pkgver::-2}
+pkgrel=1
+pkgdesc="A powerful VNC Client with a lot of features, compatible with Windows' UltraVNC servers"
+arch=('any')
+url="http://www.uvnc.com"
+license=('GPL')
+depends=('wine' 'gtk-update-icon-cache')
+makedepends=('unzip')
+source=("http://www.uvnc.eu/download/${pkgver//./}/Uvnc_${pkgver//./}_bin.zip"
+ "${pkgname}"
+ "${pkgname}-16.png"
+ "${pkgname}-24.png"
+ "${pkgname}-32.png"
+ "${pkgname}-48.png"
+ "${pkgname}-256.png"
+ "${pkgname}.desktop"
+ "${pkgname}-listen.desktop")
+sha256sums=('b1760a91ca0d53777e65942185f94c5e0a3a5c7f20cb5fd84c2503f2d12d039e'
+ '1738d173c1cb89e46207c70fda6a36b7eeea9ba31b469a0cce10bbd9e8deb9b0'
+ '5386feaf65fff389db4e4e30950f97d64803815b1e1a219d45bf41c2bde45e21'
+ '098876231f8006bb89fc54986175ec6d938fae2c9e4a6dafe9b5c9d36f7fb3a2'
+ '48025bb333be1ab9ebf875ced00d98b5701bbd81bad361d34712bc00b2e3c0df'
+ '26b29f4a99cc40e3c119eae0f3ae9195d41f57cb2377f1add3e4c771f752aaa2'
+ '1106710eab5b5603c15a1c216ad181e60110e8dc17f6442985e24f631b6f5f1b'
+ 'c2a3cb12b9fdbd06fc9faf9907a591d7988233dd5e0046ccba625f5f8b3b367d'
+ '6eefe94d1dacc0ca414a1e2ff5cc0fb2c272d3743b39240247000e5d03e6d9f2')
+install="${pkgname}.install"
+
+package() {
+ # Install binary files
+ install -m 644 -D "${srcdir}/w2k/vncviewer.exe" "${pkgdir}/usr/lib/${pkgname}/vncviewer.exe"
+ # Install startup script
+ install -m 755 -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ # Install icons
+ for _size in 16 24 32 48 256
+ do
+ install -m 644 -D ${pkgname}-${_size}.png "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png"
+ done
+ # Install desktop files
+ install -m 755 -d "${pkgdir}/usr/share/applications"
+ install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop" "${pkgname}-listen.desktop"
+}
+
diff --git a/ultravnc-viewer b/ultravnc-viewer
new file mode 100644
index 00000000000..d94b515c7b4
--- /dev/null
+++ b/ultravnc-viewer
@@ -0,0 +1,13 @@
+#!/bin/bash
+CONFIG_DIR="$XDG_CONFIG_HOME"
+[ -z "$CONFIG_DIR" ] && CONFIG_DIR="$HOME/.config"
+
+export WINEPREFIX="$CONFIG_DIR/ultravnc-viewer"
+export WINEDLLOVERRIDES="mscoree,mshtml,winemp3.acm="
+
+if [ ! -d "$WINEPREFIX" ] ; then
+ mkdir -p "$WINEPREFIX" || exit 1
+ wineboot -u
+fi
+
+wine /usr/lib/ultravnc-viewer/vncviewer.exe "$@"
diff --git a/ultravnc-viewer-16.png b/ultravnc-viewer-16.png
new file mode 100644
index 00000000000..1459d9303af
--- /dev/null
+++ b/ultravnc-viewer-16.png
Binary files differ
diff --git a/ultravnc-viewer-24.png b/ultravnc-viewer-24.png
new file mode 100644
index 00000000000..ede5d1ed285
--- /dev/null
+++ b/ultravnc-viewer-24.png
Binary files differ
diff --git a/ultravnc-viewer-256.png b/ultravnc-viewer-256.png
new file mode 100644
index 00000000000..1e87febbff3
--- /dev/null
+++ b/ultravnc-viewer-256.png
Binary files differ
diff --git a/ultravnc-viewer-32.png b/ultravnc-viewer-32.png
new file mode 100644
index 00000000000..d9aac88e294
--- /dev/null
+++ b/ultravnc-viewer-32.png
Binary files differ
diff --git a/ultravnc-viewer-48.png b/ultravnc-viewer-48.png
new file mode 100644
index 00000000000..7e891776d35
--- /dev/null
+++ b/ultravnc-viewer-48.png
Binary files differ
diff --git a/ultravnc-viewer-listen.desktop b/ultravnc-viewer-listen.desktop
new file mode 100644
index 00000000000..016ae5ca886
--- /dev/null
+++ b/ultravnc-viewer-listen.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=UltraVNC Viewer Listen mode
+Type=Application
+Exec=ultravnc-viewer -listen
+Icon=ultravnc-viewer
+Categories=Network;
diff --git a/ultravnc-viewer.desktop b/ultravnc-viewer.desktop
new file mode 100644
index 00000000000..c9829ce2c55
--- /dev/null
+++ b/ultravnc-viewer.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=UltraVNC Viewer
+Type=Application
+Exec=ultravnc-viewer
+Icon=ultravnc-viewer
+Categories=Network;
diff --git a/ultravnc-viewer.install b/ultravnc-viewer.install
new file mode 100644
index 00000000000..1a05f573e59
--- /dev/null
+++ b/ultravnc-viewer.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}