updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / nxcomp / PKGBUILD
blobcc042ffbc7953b4187486d24320e035c2a87fe2a
1 # Contributor: Gerhard Brauer <gerbra@archlinux.de>
2 # Contributor: Richard Murri  <admin@richardmurri.com>
3 # Contributor: Marc Cousin <cousinmarc@gmail.com>
4 pkgname=nxcomp
5 pkgver=3.5.0_2
6 pkgrel=2
7 pkgdesc="NX compression library"
8 arch=('i686' 'x86_64')
9 url="http://www.nomachine.com"
10 license=('GPL')
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')
16 build() {
17   cd $srcdir/$pkgname
19   sed -i 's/_XLIB_H_/_X11_XLIB_H_/g' NXvars.h
21   ./configure --prefix=/usr
22   make || return 1
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')