summaryrefslogtreecommitdiff
path: root/libre/vncviewer-jar/PKGBUILD
blob: bff08585c6325463635a290cef06eff5d6086db9 (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
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=vncviewer-jar
pkgver=1.3.10
pkgrel=4.parabola1
pkgdesc="VNC viewer java applet"
arch=('any')
license=('GPL')
url="http://www.tightvnc.com"
depends=('java-runtime')
makedepends=('java-environment')
conflicts=('tightvnc')
source=(http://downloads.sf.net/sourceforge/vnc-tight/tightvnc-${pkgver}_javasrc.tar.gz)
sha256sums=('465a6c90d362029152ea16d0b8e2c29f772b06eeec6c561278390f73d64ec6ec')

build() {
  cd $srcdir/vnc_javasrc
  make all
}

package() {
  cd $srcdir/vnc_javasrc

  # Install license file
  install -Dm644 LICENCE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENCE.txt"

  mkdir -p $pkgdir/usr/share/vnc/classes
  install -D -m644 *.class *.jar *.vnc \
	$pkgdir/usr/share/vnc/classes
}