1 # Contributor: Gerhard Brauer <gerbra@archlinux.de>
2 # Contributor: Richard Murri <admin@richardmurri.com>
3 # Contributor: Marc Cousin <cousinmarc@gmail.com>
7 pkgdesc="NX compression library"
9 url="http://www.nomachine.com"
11 depends=('libjpeg' 'libpng' 'gcc-libs')
12 groups=('x2go' 'alts')
13 source=(http://64.34.161.181/download/${pkgver%%_*}/sources/${pkgname}-${pkgver//_/-}.tar.gz)
14 md5sums=('cba926f2b855231a8fc3e0dabff52855')
19 sed -i 's/_XLIB_H_/_X11_XLIB_H_/g' NXvars.h
21 ./configure --prefix=/usr
24 install -d $pkgdir/usr/lib
25 cp -a libXcomp.so* $pkgdir/usr/lib
27 install -d $pkgdir/usr/include/nxcomp
28 cp -a *.h $pkgdir/usr/include/nxcomp/
30 md5sums=('ad8c0f133122c6d07732ca69c8759410')