summaryrefslogtreecommitdiff
path: root/extra/rdesktop/PKGBUILD
blob: c2adab552f208022b9f49730df94034c96376831 (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
31
# $Id: PKGBUILD 120030 2011-04-18 14:48:32Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>

pkgname=rdesktop
pkgver=1.7.0
pkgrel=1
depends=('libx11' 'openssl' 'libao' 'libsamplerate')
pkgdesc="An open source client for Windows Remote Desktop Services"
url="http://www.rdesktop.org/"
license=('GPL')
arch=('i686' 'x86_64')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
        'rdesktop-send_physical_buttons.diff')
md5sums=('77fa93b21aa38837a85e81c00e757228'
         '880d3aeac67b901e6bf44d1323374768')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  # FS#15113
  patch -i ${srcdir}/rdesktop-send_physical_buttons.diff

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}