updated on Tue Jan 24 16:10:37 UTC 2012
[aur-mirror.git] / gnome-rdp / PKGBUILD
blobfed28dde3fc10852f250d67a74427bcc12a85118
1 # Maintainer: Hyperair <hyperair@gmail.com>
2 # Contributor: kumico <norrian@gmail.com>
3 # Contributor: adamruss <mail@russ.co.il>
4 pkgname=gnome-rdp
5 pkgver=0.2.3
6 pkgrel=3
7 url="http://gnome-rdp.linuxforge.hu/"
8 pkgdesc="Remote Desktop Client for the GNOME Desktop with RDP/VNC/SSH capabilities; Written in (Mono) C#."
9 arch=('i686' 'x86_64')
10 depends=('rdesktop' 'tightvnc' 'openssh' 'knockd' 'gnome-terminal' 'gtk-sharp-2' 'gnome-sharp' 'gnome-desktop-sharp' 'gnome-keyring-sharp' 'nant')
11 license=('GPL' 'LGPL')
12 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
13         vnccommand.patch
14         gnome-rdp-logo.png
15         gnome-rdp.desktop)
17 install=gnome-rdp.install
19 build() {
20   export MONO_SHARED_DIR="$srcdir/.wapi"
21   mkdir -p "$MONO_SHARED_DIR"
22   cd "$srcdir/${pkgname}-${pkgver}"
24   # patch  
25   patch -Np1 -i ../vnccommand.patch || return 1
26   cp -f $srcdir/gnome-rdp-logo.png $srcdir/$pkgname-$pkgver/icons
27   
28   # build
29   nant || return 1
31   # install
32   mkdir -p $startdir/pkg/usr/lib/gnome-rdp/
33   mkdir -p $startdir/pkg/usr/bin
34   mkdir -p $startdir/pkg/usr/share/applications
35   mkdir -p $startdir/pkg/usr/share/pixmaps
37   cp $srcdir/$pkgname-$pkgver/build/gnome-rdp $startdir/pkg/usr/bin
38   cp $srcdir/gnome-rdp.desktop $startdir/pkg/usr/share/applications
39   cp $srcdir/$pkgname-$pkgver/build/gnome-rdp.exe $startdir/pkg/usr/lib/gnome-rdp/
40   cp $srcdir/gnome-rdp-logo.png $startdir/pkg/usr/share/pixmaps/gnome-rdp.png
41   chmod +x $startdir/pkg/usr/bin/gnome-rdp
43   rm -rf "$MONO_SHARED_DIR"
45 md5sums=('1297c536e8d84c05113bc744d6829b54'
46          'f52b591634c64d959491ddb612320ae2'
47          'db32cf86981d76a7d882b43d78cacc61'
48          'd016bdb5b41c219293b762dc85f94059')