summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 23:16:06 -0600
committerBrian Bidulock2015-06-10 23:16:06 -0600
commit06441fc8a32e9b3e9359d6412047a5f60627efef (patch)
tree3f0b536cca8a2bf24f0816010f755ffb9d49ba94
downloadaur-06441fc8a32e9b3e9359d6412047a5f60627efef.tar.gz
initial version
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD46
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1480a396aad
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = x11vnc-git
+ pkgdesc = VNC server for real X displays
+ pkgver = 0.9.14.r358.gaf86975
+ pkgrel = 1
+ url = https://LibVNC.github.io
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = autoconf-archive
+ depends = libvncserver
+ depends = libxtst
+ depends = libxinerama
+ depends = libxdamage
+ depends = libxrandr
+ depends = avahi
+ optdepends = tk: GUI support
+ optdepends = net-tools: -auth guess
+ optdepends = xf86-video-dummy: Xdummy script
+ optdepends = java-environment: java-applet support
+ provides = x11vnc
+ conflicts = x11vnc
+ options = !emptydirs
+ source = x11vnc-git::git+https://github.com/bbidulock/x11vnc.git
+ sha1sums = SKIP
+
+pkgname = x11vnc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8cc7da9d37c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 213872 2014-05-30 21:30:40Z bisson $
+# Maintainer: Brian Bidulock <bidulock@Openss7.org>
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=x11vnc-git
+pkgver=0.9.14.r358.gaf86975
+pkgrel=1
+pkgdesc='VNC server for real X displays'
+url="https://LibVNC.github.io"
+arch=('i686' 'x86_64')
+license=('GPL')
+options=('!emptydirs')
+provides=(x11vnc)
+conflicts=(x11vnc)
+depends=(libvncserver libxtst libxinerama libxdamage libxrandr avahi)
+makedepends=(autoconf-archive)
+optdepends=('tk: GUI support'
+ 'net-tools: -auth guess'
+ 'xf86-video-dummy: Xdummy script'
+ 'java-environment: java-applet support')
+source=("$pkgname::git+https://github.com/bbidulock/x11vnc.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ printf "0.9.14.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd $pkgname
+ autoreconf -fiv
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make V=0
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -m755 tkx11vnc misc/{rx11vnc,Xdummy} "$pkgdir/usr/bin"
+ install -Dm644 x11vnc.service "${pkgdir}/usr/lib/systemd/system/x11vnc.service"
+}