blob: 29d451b8a8871ddeac4a5417d5bdd8166c35cb2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
pkgname=tightvnc
pkgver=1.3.10
pkgrel=2
pkgdesc="VNC Unix server && viewer"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.tightvnc.com"
depends=('libjpeg' 'zlib' 'libxaw' 'libxp')
makedepends=('imake')
conflicts=('vnc')
source=(http://easynews.dl.sf.net/sourceforge/vnc-tight/${pkgname}-${pkgver}_unixsrc.tar.bz2 tightvnc-fontpath-xcolors.patch)
build() {
export MAKEFLAGS="-j1"
cd ${srcdir}/vnc_unixsrc || return 1
patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1
xmkmf || return 1
make World || return 1
cd Xvnc || return 1
./configure || return 1
sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
-i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
make || return 1
}
package() {
cd ${srcdir}/vnc_unixsrc || return 1
mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/man/man1 || return 1
./vncinstall ${pkgdir}/usr/bin ${pkgdir}/usr/man || return 1
# install java classes
mkdir -p ${pkgdir}/usr/share/vnc/classes || return 1
install -D -m644 ${srcdir}/vnc_unixsrc/classes/* \
${pkgdir}/usr/share/vnc/classes || return 1
}
md5sums=('397b35faad32d5246b6d44b142f8304f'
'0bf967f2cdb94b432f9c7e1c121f7fbd')
|