SHARE
TWEET

PKGBUILD-ssvnc-nojava

a guest May 11th, 2019 18 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Brian Bidulock <bidulock@openss7.org>
  2. # Contributor: Florian Knodt <adlerweb@adlerweb.info>
  3. # Contributor: Jose Riha <jose 1711 gmail com>
  4.  
  5. pkgname=ssvnc-nojava
  6. _pkgname=ssvnc
  7. pkgver=1.0.30
  8. pkgrel=6
  9. pkgdesc="SSL/SSH VNC viewer no java"
  10. arch=('i686' 'x86_64')
  11. url="http://www.karlrunge.com/x11vnc/ssvnc.html"
  12. license=('GPL')
  13. groups=('network')
  14. depends=('libjpeg>=7' 'libxaw' 'tk')
  15. provides=(${_pkgname})
  16. conflicts=(${_pkgname})
  17. makedepends=('imake')
  18. optdepends=('perl' 'xterm' 'smbclient' 'avahi' 'stunnel')
  19. source=(http://ssvnc.sourceforge.net/dev/$_pkgname-$pkgver.src.tar.gz
  20. https://sources.debian.org/data/main/s/ssvnc/1.0.29-4/debian/patches/openssl1.1.patch
  21. https://sources.debian.org/data/main/s/ssvnc/1.0.29-4/debian/patches/auto-scale.patch)
  22. md5sums=('33d7c2d22d80ed26803275a9a83ddbb5'
  23. '6a119a5748a231f63c96044a2761845f'
  24. 'a6c612b9f85ff05ad7f5c7705bd8b4a1')
  25.  
  26. build() {
  27.   cd "$srcdir/$_pkgname-$pkgver"
  28.   patch -p1 < "$srcdir/openssl1.1.patch"
  29.   patch -p1 < "$srcdir/auto-scale.patch"
  30.   sed -i '/wr_tool/s/\$(PREFIX)\/\$(LIB)\/\([^/]*$\)/\/usr\/lib\/ssvnc\/\1/' Makefile
  31.   make JSRC= config
  32.   make JSRC= CCOPTIONS=-DTURBOVNC EXTRA_LIBRARIES='-L/usr/lib -Xlinker --rpath=/usr/lib -lturbojpeg' all
  33. }
  34.  
  35. package() {
  36.   cd "$srcdir/$_pkgname-$pkgver"
  37.   make JSRC= PREFIX="$pkgdir/usr" MANDIR="share/man" install
  38. }
  39.  
  40. # vim:set ts=2 sw=2 et:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top