summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-28 23:51:48 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-28 23:51:48 (GMT)
commit04ef3a2a834ae65a640746c506f16d519f37be73 (patch)
tree940bff9fc447ca2cb43360bb685a743c5afbd397 /abs/extra
parent1d759a3014681e9d96bf1adf5fcbef86218e5cf4 (diff)
downloadlinhes_pkgbuild-04ef3a2a834ae65a640746c506f16d519f37be73.zip
linhes_pkgbuild-04ef3a2a834ae65a640746c506f16d519f37be73.tar.gz
linhes_pkgbuild-04ef3a2a834ae65a640746c506f16d519f37be73.tar.bz2
tightvnc: package was missing. Recompile
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/tightvnc/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/abs/extra/tightvnc/PKGBUILD b/abs/extra/tightvnc/PKGBUILD
index ef3ea3e..29d451b 100644
--- a/abs/extra/tightvnc/PKGBUILD
+++ b/abs/extra/tightvnc/PKGBUILD
@@ -1,20 +1,20 @@
pkgname=tightvnc
pkgver=1.3.10
-pkgrel=1
+pkgrel=2
pkgdesc="VNC Unix server && viewer"
-arch=(i686 x86_64)
+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)
+source=(http://easynews.dl.sf.net/sourceforge/vnc-tight/${pkgname}-${pkgver}_unixsrc.tar.bz2 tightvnc-fontpath-xcolors.patch)
build() {
export MAKEFLAGS="-j1"
- cd $startdir/src/vnc_unixsrc || return 1
+ cd ${srcdir}/vnc_unixsrc || return 1
patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1
xmkmf || return 1
@@ -24,14 +24,17 @@ build() {
sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
-i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
make || return 1
- cd .. || return 1
- mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/man/man1 || return 1
- ./vncinstall $startdir/pkg/usr/bin $startdir/pkg/usr/man || 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 $startdir/pkg/usr/share/vnc/classes || return 1
- install -D -m644 $startdir/src/vnc_unixsrc/classes/* \
- $startdir/pkg/usr/share/vnc/classes || return 1
+ 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')