summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21a9a0a9458..e1ffce51fc9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,22 +5,32 @@
pkgname=ssvnc-nojava
_pkgname=ssvnc
pkgver=1.0.29
-pkgrel=7
+pkgrel=8
pkgdesc="SSL/SSH VNC viewer no java"
arch=('i686' 'x86_64')
url="http://www.karlrunge.com/x11vnc/ssvnc.html"
license=('GPL')
groups=('network')
-depends=('libjpeg>=7' 'libxaw' 'tk')
+depends=('libjpeg>=7' 'libxaw' 'openssl' 'tk' 'tcl')
provides=(${_pkgname})
conflicts=(${_pkgname})
makedepends=('imake')
optdepends=('perl' 'xterm' 'smbclient' 'avahi' 'stunnel')
-source=(http://downloads.sf.net/sourceforge/$_pkgname/$_pkgname-$pkgver.src.tar.gz)
-md5sums=('52201aeb0417c2a0fe83639e52da6ae5')
+source=(http://downloads.sf.net/sourceforge/$_pkgname/$_pkgname-$pkgver.src.tar.gz
+ openssl1.1.patch
+ Makefile.patch)
+md5sums=('52201aeb0417c2a0fe83639e52da6ae5'
+ '6a119a5748a231f63c96044a2761845f'
+ '7d35673003f4f25a046c48f803e76e65')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+ patch -p1 < "../openssl1.1.patch"
+ patch -p0 < "../Makefile.patch"
+}
build() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
sed -i '/wr_tool/s/\$(PREFIX)\/\$(LIB)\/\([^/]*$\)/\/usr\/lib\/ssvnc\/\1/' Makefile
make JSRC= config
make JSRC= all